version: "3.9" services: backend: build: context: . target: backend container_name: awc-backend ports: - "8000:8000" environment: - AWC_DATABASE_URL=sqlite+aiosqlite:///data/workflow_cleanup.db - AWC_DEBUG=false - AWC_CORS_ORIGINS=["http://localhost:3000","http://localhost:80"] volumes: - awc-data:/app/data restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"] interval: 30s timeout: 10s retries: 3 frontend: build: context: . target: frontend container_name: awc-frontend ports: - "80:80" depends_on: - backend restart: unless-stopped volumes: awc-data: