[sandbox] Use env file for docker compose
This commit is contained in:
parent
7cef57073a
commit
1c8ca53e45
3
sandbox/.dockerignore
Normal file
3
sandbox/.dockerignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
node_modules
|
||||||
|
build
|
||||||
|
.env
|
2
sandbox/.env.example
Normal file
2
sandbox/.env.example
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ADMIN_URL="http://localhost:5173"
|
||||||
|
REPO_URL="http://localhost:7006"
|
@ -3,6 +3,6 @@ services:
|
|||||||
sandbox:
|
sandbox:
|
||||||
build: .
|
build: .
|
||||||
environment:
|
environment:
|
||||||
- ADMIN_URL=http://localhost:5173
|
- ADMIN_URL=${ADMIN_URL}
|
||||||
- REPO_URL=http://localhost:7006
|
- REPO_URL=${REPO_URL}
|
||||||
network_mode: 'host'
|
network_mode: 'host'
|
||||||
|
Loading…
Reference in New Issue
Block a user