Environment variable and docker-compose -


when running number of linked services docker-compose up, how can add values environment variables passed specific containers services? have service "webapp" uses timeout environment variable, how set timeout=10000 docker-compose container "webapp" lives in? have tried notation -e timeout=10000 docker command, not seem work.

with docker compose have specify environment variables in docker-compose.yml env_file or environment configuration commands

https://docs.docker.com/compose/compose-file/#env-file https://docs.docker.com/compose/compose-file/#environment


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -