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.
This commit is contained in:
parent
fa3b83c1b1
commit
577ff54b45
@ -21,7 +21,6 @@ services:
|
|||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
- LETSENCRYPT_HOST=
|
- LETSENCRYPT_HOST=
|
||||||
- LETSENCRYPT_EMAIL=
|
- LETSENCRYPT_EMAIL=
|
||||||
environment:
|
|
||||||
- MYSQL_HOST=db
|
- MYSQL_HOST=db
|
||||||
env_file:
|
env_file:
|
||||||
- db.env
|
- db.env
|
||||||
|
Loading…
Reference in New Issue
Block a user