From bab84ca531ead40fd6366265ce4ec61a0712c349 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Fri, 30 Jan 2026 05:28:30 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fix=20environment=20variable=20p?= =?UTF-8?q?lacement=20and=20port=20configuration=20in=20production=20Docke?= =?UTF-8?q?r=20Compose=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../websites/pokedex.online/docker-compose.production.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/websites/pokedex.online/docker-compose.production.yml b/code/websites/pokedex.online/docker-compose.production.yml index 652cdb8..f933d10 100644 --- a/code/websites/pokedex.online/docker-compose.production.yml +++ b/code/websites/pokedex.online/docker-compose.production.yml @@ -43,13 +43,13 @@ services: dockerfile: Dockerfile container_name: pokedex-backend ports: - - Discord OAuth Redirect URI (set dynamically by deployment script) - - DISCORD_REDIRECT_URI=${DISCORD_REDIRECT_URI:-http://localhost:3099/oauth/callback} - - VITE_DISCORD_REDIRECT_URI=${VITE_DISCORD_REDIRECT_URI:-http://localhost:8099/oauth/callback} - # '3099:3000' + - '3099:3000' environment: - NODE_ENV=production - PORT=3000 + # Discord OAuth Redirect URI (set dynamically by deployment script) + - DISCORD_REDIRECT_URI=${DISCORD_REDIRECT_URI:-http://localhost:3099/oauth/callback} + - VITE_DISCORD_REDIRECT_URI=${VITE_DISCORD_REDIRECT_URI:-http://localhost:8099/oauth/callback} # OAuth credentials loaded from .env file env_file: - ./server/.env