offline-first, p2p synced, atproto enabled, feed reader
1# Usage: podman-compose up -d
2# Or: podman compose up -d (with compose plugin)
3
4services:
5 feedline:
6 build:
7 context: .
8 dockerfile: Containerfile
9 restart: unless-stopped
10 ports:
11 - '${PORT:-8000}:4001'
12 environment:
13 - NODE_ENV=production
14 - REALM_STORAGE_DIR=/data/realms
15 - PORT=8000
16 # Public hostname for the service (used for WebSocket URLs, etc.)
17 - FEEDLINE_HOST=${FEEDLINE_HOST:-localhost}
18 volumes:
19 # Persist realm data
20 - feedline-data:/data/realms
21 healthcheck:
22 test:
23 [
24 'CMD',
25 'node',
26 '-e',
27 "fetch('http://localhost:4001/').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))",
28 ]
29 interval: 30s
30 timeout: 10s
31 retries: 3
32 start_period: 10s
33
34volumes:
35 feedline-data: