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

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -