A community based topic aggregation platform built on atproto
at main 45 lines 1.1 kB view raw
1services: 2 reddit-aggregator: 3 build: 4 context: . 5 dockerfile: Dockerfile 6 container_name: reddit-highlights-aggregator 7 restart: unless-stopped 8 9 # Environment variables 10 environment: 11 # Required: Coves API Key 12 - COVES_API_KEY=${COVES_API_KEY} 13 14 # Optional: Override Coves API URL 15 - COVES_API_URL=${COVES_API_URL:-https://coves.social} 16 17 # Optional: Run immediately on startup (useful for testing) 18 - RUN_ON_STARTUP=${RUN_ON_STARTUP:-false} 19 20 # Optional: Skip jitter (for testing only) 21 - SKIP_JITTER=${SKIP_JITTER:-false} 22 23 # Mount config file and state directory 24 volumes: 25 - ./config.yaml:/app/config.yaml:ro 26 - ./data:/app/data # State persistence for deduplication 27 28 # Load credentials from .env 29 env_file: 30 - .env 31 32 # Logging configuration 33 logging: 34 driver: "json-file" 35 options: 36 max-size: "10m" 37 max-file: "3" 38 39 # Health check 40 healthcheck: 41 test: ["CMD", "pgrep", "cron"] 42 interval: 60s 43 timeout: 10s 44 retries: 3 45 start_period: 10s