Files
RSS/docker-compose.yml
T
Antoni Nuñez Romeu 4c41b501e5 Dockerized app
2026-07-22 12:59:11 +02:00

19 lines
420 B
YAML

services:
rss-bot:
build: .
container_name: discord-rss-bot
restart: unless-stopped
env_file: .env
ports:
- "8000:8000"
volumes:
- rss-data:/app/data
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://localhost:8000/health').then(r=>{if(!r.ok)process.exit(1)}).catch(()=>process.exit(1))"]
interval: 30s
timeout: 5s
retries: 3
volumes:
rss-data: