Is there any way to specify default ENV value in docker-compose?
something like:
- ROOT_URL=${ROOT_URL_PROTO:https}://${ROOT_URL_HOST:system.domain.com}
thank you?
Is there any way to specify default ENV value in docker-compose?
something like:
thank you?
Unfortunately, Docker Compose doesn’t currently support this feature. If it ever gets added, we’ll add it to Rancher Compose.
Cool, thanks.
is there a way to use host’s hostname when spinning up the container? or just a way to get an hostname somehow from the container?
We don’t have the ability to set the host’s hostname into the container, but you can set the container’s hostname yourself.
You can get the hostname of the container through Rancher’s metadata service