From afba7e72dd6b2a3724349c42b64d6aac2b24c504 Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Tue, 14 Feb 2023 11:38:19 -0500 Subject: [PATCH] refactor: Forward the `CODESPACES` & `CODESPACE_NAME` shell env vars to the containers --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index c3abae7..17ee2a9 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,6 +25,9 @@ services: - "mysql" env_file: *env + environment: + CODESPACES: "${CODESPACES}" + CODESPACE_NAME: "${CODESPACE_NAME}" expose: - "9000" init: true @@ -66,6 +69,9 @@ services: - "php" env_file: *env + environment: + CODESPACES: "${CODESPACES}" + CODESPACE_NAME: "${CODESPACE_NAME}" init: true tty: true volumes: