services: server: build: context: . dockerfile: server/Dockerfile expose: - "3000" volumes: - eventy_data:/app/data environment: - PORT=3000 - ADMIN_PASSWORD=${ADMIN_PASSWORD:-123456} restart: unless-stopped healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health"] interval: 30s timeout: 3s retries: 3 start_period: 10s client: build: context: ./client dockerfile: Dockerfile # No ports binding - Coolify's reverse proxy handles external traffic expose: - "80" depends_on: server: condition: service_healthy restart: unless-stopped healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"] interval: 30s timeout: 3s retries: 3 start_period: 5s volumes: eventy_data: