Files
rssKeeper/docker-compose.yml
T

29 lines
668 B
YAML
Raw Normal View History

version: '3.8'
services:
rsskeeper:
build:
context: .
dockerfile: Dockerfile
container_name: rsskeeper
ports:
- "8000:8000"
volumes:
- ./data:/app/data
environment:
- DATA_DIR=/app/data
- DATABASE_URL=/app/data/rsskeeper.db
- FETCH_CONCURRENCY=10
- FETCH_TIMEOUT=30
- DEFAULT_FETCH_INTERVAL=60
- MIN_FETCH_INTERVAL=15
- MAX_ARTICLE_CONTENT_LENGTH=50000
- MAX_SUMMARY_LENGTH=500
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s