services: web: build: . ports: - "80:80" depends_on: - api api: build: ./backend environment: - PORT=8000 - DB_PATH=/app/data/app.db # Set these as env vars on the Coolify app to switch from demo fixtures # to live data. Empty -> the backend serves fixtures. - NAPTA_API_TOKEN=${NAPTA_API_TOKEN:-} - NAPTA_BASE_URL=${NAPTA_BASE_URL:-https://app.napta.io/api/v1} - SLACK_BOT_TOKEN=${SLACK_BOT_TOKEN:-} volumes: - ./data:/app/data ports: - "8000:8000"