# Caddy Reverse Proxy for Kaboot Production # # This compose file adds Caddy as a reverse proxy with automatic HTTPS. # Use with the main docker-compose.yml using the -f flag. # # Usage: # docker compose -f docker-compose.yml -f docker-compose.caddy.yml up -d # # Prerequisites: # 1. Create a Caddyfile in the project root (see docs/PRODUCTION.md) # 2. Build the frontend: npm run build # 3. Update your domain DNS to point to your server services: caddy: image: caddy:2-alpine container_name: kaboot-caddy restart: unless-stopped ports: - "80:80" - "443:443" volumes: - ./Caddyfile:/etc/caddy/Caddyfile:ro - ./dist:/srv/frontend:ro - caddy-data:/data - caddy-config:/config depends_on: - kaboot-backend - authentik-server networks: - kaboot-network volumes: caddy-data: caddy-config: