Browse Source

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

imwald
Daniel Vergara 9 months ago committed by GitHub
parent
commit
7288f9c58e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      docker-compose.yml

4
docker-compose.yml

@ -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…
Cancel
Save