From 7288f9c58e9b5f394dd5a2173f712d66aa09987c Mon Sep 17 00:00:00 2001 From: Daniel Vergara Date: Sun, 15 Jun 2025 00:27:24 -0600 Subject: [PATCH] fix(compose): add environment variables to set URLs in the docker compose file (#388) --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 788d389..af12113 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: context: . dockerfile: Dockerfile args: - VITE_PROXY_SERVER: http://localhost:8090 + VITE_PROXY_SERVER: ${JUMBLE_PROXY_SERVER_URL:-http://localhost:8090} ports: - "8089:80" restart: unless-stopped @@ -17,7 +17,7 @@ services: proxy-server: image: ghcr.io/danvergara/jumble-proxy-server:latest environment: - - ALLOW_ORIGIN=http://localhost:8089 + - ALLOW_ORIGIN=${JUMBLE_SOCIAL_URL:-http://localhost:8089} - PORT=8080 ports: - "8090:8080"