🗑️ Remove outdated backup file and update Docker Compose configuration with Discord OAuth environment variables

This commit is contained in:
2026-01-30 05:27:48 +00:00
parent f915d6d44c
commit eb9afeef26
3 changed files with 8 additions and 1 deletions

View File

@@ -10,6 +10,10 @@ services:
container_name: pokedex-frontend
ports:
- '8099:80'
environment:
# Discord OAuth redirect URI (set dynamically by deployment script)
- VITE_DISCORD_REDIRECT_URI=${VITE_DISCORD_REDIRECT_URI:-http://localhost:8099/oauth/callback}
- VITE_DISCORD_CLIENT_ID=${VITE_DISCORD_CLIENT_ID}
depends_on:
backend:
condition: service_healthy
@@ -38,7 +42,10 @@ services:
dockerfile: Dockerfile
container_name: pokedex-backend
ports:
- '3099: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}
# '3099:3000'
environment:
- NODE_ENV=production
- PORT=3000