fix(compose): add environment variables to set URLs in the docker compose file (#388)
This commit is contained in:
parent
b4f972dcbb
commit
7288f9c58e
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
VITE_PROXY_SERVER: http://localhost:8090
|
VITE_PROXY_SERVER: ${JUMBLE_PROXY_SERVER_URL:-http://localhost:8090}
|
||||||
ports:
|
ports:
|
||||||
- "8089:80"
|
- "8089:80"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
@ -17,7 +17,7 @@ services:
|
||||||
proxy-server:
|
proxy-server:
|
||||||
image: ghcr.io/danvergara/jumble-proxy-server:latest
|
image: ghcr.io/danvergara/jumble-proxy-server:latest
|
||||||
environment:
|
environment:
|
||||||
- ALLOW_ORIGIN=http://localhost:8089
|
- ALLOW_ORIGIN=${JUMBLE_SOCIAL_URL:-http://localhost:8089}
|
||||||
- PORT=8080
|
- PORT=8080
|
||||||
ports:
|
ports:
|
||||||
- "8090:8080"
|
- "8090:8080"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue