Files
company-celebration/docker-compose.yml
empty 4d621b5901 feat: replace Nginx with Caddy for automatic SSL management
- Add Caddyfile with automatic HTTPS configuration
- Add Dockerfile.caddy for frontend build with Caddy
- Update docker-compose.yml to use Caddy service
- Update DEPLOY.md with simplified deployment instructions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 00:28:15 +08:00

54 lines
959 B
YAML

version: '3.8'
services:
redis:
image: redis:7-alpine
container_name: gala-redis
restart: unless-stopped
volumes:
- redis_data:/data
networks:
- gala-network
server:
build:
context: .
dockerfile: packages/server/Dockerfile
container_name: gala-server
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=3000
- REDIS_URL=redis://redis:6379
- CORS_ORIGINS=${CORS_ORIGINS:-*}
depends_on:
- redis
networks:
- gala-network
caddy:
build:
context: .
dockerfile: deploy/Dockerfile.caddy
container_name: gala-caddy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- caddy_data:/data
- caddy_config:/config
depends_on:
- server
networks:
- gala-network
volumes:
redis_data:
caddy_data:
caddy_config:
networks:
gala-network:
driver: bridge