Allow compose to find all env variables

With two declared "environment" compose only takes the second one. In
thi case it means that the letsencrypt companion and reverse-proxy can't
read the neede variables for the setup, making this example to return a
http 503 error.
pull/173/head
Jorge Villasenor 8 years ago
parent fa3b83c1b1
commit 577ff54b45

@ -21,7 +21,6 @@ services:
- VIRTUAL_HOST=
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
environment:
- MYSQL_HOST=db
env_file:
- db.env

Loading…
Cancel
Save