# backend/coolify.yaml services: backend: build: context: . dockerfile: Dockerfile environment: - NODE_ENV=production - PORT=3000 - DATABASE_URL=${DATABASE_URL} - JWT_SECRET=${JWT_SECRET} - CORS_ORIGINS=http://localhost:5173,https://placebo.mk,https://www.placebo.mk ports: - "3000:3000" healthcheck: test: [ "CMD", "wget", "-q", "--spider", "http://localhost:3000/health || exit 1", ] interval: 30s timeout: 10s retries: 3