🗑️ Remove outdated backup and temporary Docker Compose configuration files

This commit is contained in:
2026-01-30 05:53:41 +00:00
parent 33ded78edc
commit 56ef1223c1
3 changed files with 0 additions and 86 deletions

View File

@@ -1,86 +0,0 @@
# Pokedex.Online Production Docker Compose
# Multi-container setup with frontend (nginx) and backend (Node.js)
services:
# Frontend - Nginx serving built Vue.js app
frontend:
build:
context: .
dockerfile: Dockerfile.frontend
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
restart: unless-stopped
networks:
- pokedex-network
healthcheck:
test:
[
'CMD',
'wget',
'--quiet',
'--tries=1',
'--spider',
'http://localhost:80/'
]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
# Backend - Node.js API server
backend:
build:
context: ./server
dockerfile: Dockerfile
container_name: pokedex-backend
ports:
- '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
volumes:
# Persist OAuth session data
- ./server/data:/app/data
# Persist logs
- ./server/logs:/app/logs
restart: unless-stopped
networks:
- pokedex-network
healthcheck:
test:
[
'CMD',
'wget',
'--quiet',
'--tries=1',
'--spider',
'http://localhost:3000/health'
]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
pokedex-network:
driver: bridge
volumes:
backend-data:
driver: local
backend-logs:
driver: local