# Docker Compose - Production Configuration # Usage with reverse proxy: # docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d # # Required: Create a .env file with production values before running services: frontend: # In production, don't mount source volumes (use built image) volumes: - node_modules:/app/node_modules environment: # Production API URLs - these must be set in .env file - VITE_API_URL=${VITE_API_URL} - VITE_WEBHOOK_BASE_URL=${VITE_WEBHOOK_BASE_URL} - VITE_INSTALL_SCRIPT_URL=${VITE_INSTALL_SCRIPT_URL} - VITE_APP_URL=${VITE_APP_URL} - NODE_ENV=production fake-backend: environment: # Production CORS - restrict to frontend domain - CORS_ORIGINS=${CORS_ORIGINS} # Production webhook URL - WEBHOOK_BASE_URL=${WEBHOOK_BASE_URL} # Production settings - NODE_ENV=production - DELAY_MS=${DELAY_MS:-1500}