Files
space-booking/docker-compose.yml
Claude Agent 8a7956252c fix(traefik): use web entrypoint instead of tls=true
IIS terminates SSL and forwards HTTP (port 80) to Traefik.
tls=true was putting the router on websecure (port 443),
causing 404. All other apps use entrypoints=web.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 08:18:20 +00:00

43 lines
1.1 KiB
YAML

version: "3.8"
services:
backend:
build: ./backend
restart: unless-stopped
environment:
- SECRET_KEY=${SECRET_KEY:-change-me-in-production}
- DATABASE_URL=sqlite:////data/space_booking.db
- FRONTEND_URL=${FRONTEND_URL:-http://localhost}
- SMTP_HOST=${SMTP_HOST:-localhost}
- SMTP_PORT=${SMTP_PORT:-1025}
- SMTP_ENABLED=${SMTP_ENABLED:-false}
volumes:
- backend_data:/data
- uploads_data:/app/uploads
networks:
- internal
frontend:
build: ./frontend
restart: unless-stopped
networks:
- internal
- dokploy-network
depends_on:
- backend
labels:
- "traefik.enable=true"
- "traefik.http.routers.space-booking.rule=Host(`${DOMAIN:-space-booking.roa.romfast.ro}`)"
- "traefik.http.routers.space-booking.entrypoints=web"
- "traefik.http.services.space-booking.loadbalancer.server.port=80"
volumes:
backend_data:
uploads_data:
networks:
internal:
driver: bridge
dokploy-network:
external: true