From beabe24486e37e01707ac0696aab34c5998a61cc Mon Sep 17 00:00:00 2001 From: Robert O'Rourke Date: Mon, 27 Jul 2020 13:28:59 +0000 Subject: [PATCH] Forward COMPOSE_PROJECT_NAME env var to PHP container We are checking the `COMPOSE_PROJECT_NAME` env var to set the server global `HTTP_HOST` value if it is unset eg. in a CLI command however it is not actually present on the PHP container right now. This fixes that problem. Fixes #194 --- docker/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 370e02ec..1959f52a 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -33,6 +33,7 @@ x-php: &php - proxy - default environment: + COMPOSE_PROJECT_NAME: ${COMPOSE_PROJECT_NAME:-default} HOST_PATH: ${VOLUME} DB_HOST: db DB_READ_REPLICA_HOST: db-read-replica