🗑️ Remove outdated backup file and update Docker Compose configuration with Discord OAuth environment variables
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -10,6 +10,10 @@ services:
|
|||||||
container_name: pokedex-frontend
|
container_name: pokedex-frontend
|
||||||
ports:
|
ports:
|
||||||
- '8099:80'
|
- '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:
|
depends_on:
|
||||||
backend:
|
backend:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -38,7 +42,10 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: pokedex-backend
|
container_name: pokedex-backend
|
||||||
ports:
|
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:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- PORT=3000
|
- PORT=3000
|
||||||
|
|||||||
Reference in New Issue
Block a user