version: '3.8' services: backend: build: https://forgejo.media-on.de/Leopoldadmin/web-cad.git#master dockerfile: backend/Dockerfile environment: - NODE_ENV=production - JWT_SECRET=cad-jwt-secret-prod-2026 - PORT=5000 expose: - "5000" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5000/api/health"] interval: 10s timeout: 5s retries: 10 start_period: 30s volumes: - sqlite_data:/app/data restart: unless-stopped frontend: build: context: https://forgejo.media-on.de/Leopoldadmin/web-cad.git#master dockerfile: frontend/Dockerfile expose: - "80" depends_on: - backend healthcheck: test: ["CMD", "curl", "-f", "http://localhost:80/"] interval: 10s timeout: 5s retries: 10 start_period: 30s restart: unless-stopped volumes: sqlite_data: