Skip to content

Commit

Permalink
refactor: Forward the CODESPACES & CODESPACE_NAME shell env vars …
Browse files Browse the repository at this point in the history
…to the containers
  • Loading branch information
khalwat committed Feb 14, 2023
1 parent fedd9ff commit afba7e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ services:
- "mysql"
env_file:
*env
environment:
CODESPACES: "${CODESPACES}"
CODESPACE_NAME: "${CODESPACE_NAME}"
expose:
- "9000"
init: true
Expand Down Expand Up @@ -66,6 +69,9 @@ services:
- "php"
env_file:
*env
environment:
CODESPACES: "${CODESPACES}"
CODESPACE_NAME: "${CODESPACE_NAME}"
init: true
tty: true
volumes:
Expand Down

0 comments on commit afba7e7

Please sign in to comment.