services: discord-rss-bot: image: ghcr.io/thelovinator1/discord-rss-bot:latest container_name: discord-rss-bot ports: - "5000:5000" volumes: # To use a host directory instead of a named volume: # Linux: - /Docker/Bots/discord-rss-bot:/home/botuser/.local/share/discord_rss_bot/ # Windows: - C:\Docker\Bots\discord-rss-bot:/home/botuser/.local/share/discord_rss_bot/ - data:/home/botuser/.local/share/discord_rss_bot/ healthcheck: test: [ "CMD", "uv", "run", "./discord_rss_bot/healthcheck.py" ] interval: 1m timeout: 10s retries: 3 start_period: 5s # Keep logs in a rotating file so they don't fill up the disk logging: driver: "json-file" options: max-size: "10m" max-file: "3" restart: unless-stopped volumes: data: