[sandbox] Use env file for docker compose

This commit is contained in:
orosmatthew 2023-09-07 13:19:10 -04:00
parent 7cef57073a
commit 1c8ca53e45
3 changed files with 7 additions and 2 deletions

3
sandbox/.dockerignore Normal file
View File

@ -0,0 +1,3 @@
node_modules
build
.env

2
sandbox/.env.example Normal file
View File

@ -0,0 +1,2 @@
ADMIN_URL="http://localhost:5173"
REPO_URL="http://localhost:7006"

View File

@ -3,6 +3,6 @@ services:
sandbox:
build: .
environment:
- ADMIN_URL=http://localhost:5173
- REPO_URL=http://localhost:7006
- ADMIN_URL=${ADMIN_URL}
- REPO_URL=${REPO_URL}
network_mode: 'host'