From 577ff54b455a0ab616738f48a060580e706a93d0 Mon Sep 17 00:00:00 2001 From: Jorge Villasenor Date: Sun, 22 Oct 2017 20:44:40 -0700 Subject: [PATCH] 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. --- .../with-nginx-proxy/mariadb/apache/docker-compose.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml index 8617cf5..45406dc 100644 --- a/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml +++ b/.examples/docker-compose/with-nginx-proxy/mariadb/apache/docker-compose.yml @@ -21,7 +21,6 @@ services: - VIRTUAL_HOST= - LETSENCRYPT_HOST= - LETSENCRYPT_EMAIL= - environment: - MYSQL_HOST=db env_file: - db.env