Hi everybody!
My problem is simple. I have to play a docker-compose with a yml file (instances.yml) to generate certificates for 5 containers : 3 ES + 1 Kibana + 1 logstash.
This compose file (instances.yml) have to know container name before deploying stack to populate a docker volumes with certificate.
And when you deploy Rancher template container name $name is formated as : r-$PROJECT-$name-1-$UID
Then instances.yml must contain the real name!
instances:
- name: r-${PROJECT}-es01-1-$UID
dns:
- es01
But we don’t know (as I knew) $UID before deploying!
Tks in advance