# Usage: podman-compose up -d # Or: podman compose up -d (with compose plugin) services: feedline: build: context: . dockerfile: Containerfile restart: unless-stopped ports: - '${PORT:-8000}:4001' environment: - NODE_ENV=production - REALM_STORAGE_DIR=/data/realms - PORT=8000 # Public hostname for the service (used for WebSocket URLs, etc.) - FEEDLINE_HOST=${FEEDLINE_HOST:-localhost} volumes: # Persist realm data - feedline-data:/data/realms healthcheck: test: [ 'CMD', 'node', '-e', "fetch('http://localhost:4001/').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))", ] interval: 30s timeout: 10s retries: 3 start_period: 10s volumes: feedline-data: