fix(compose): add environment variables to set URLs in the docker compose file (#388)

This commit is contained in:
Daniel Vergara 2025-06-15 00:27:24 -06:00 committed by GitHub
parent b4f972dcbb
commit 7288f9c58e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"