Fix all the bugs

This commit is contained in:
Joakim Hellsén 2024-05-18 04:05:05 +02:00
commit 73cf7c489c
No known key found for this signature in database
GPG key ID: D196AE66FEBE1DC9
33 changed files with 827 additions and 392 deletions

View file

@ -4,12 +4,18 @@ services:
container_name: discord-rss-bot
expose:
- "5000:5000"
ports:
- "5000:5000"
volumes:
- /Docker/Bots/discord-rss-bot:/home/botuser/.local/share/discord_rss_bot/
# - /Docker/Bots/discord-rss-bot:/home/botuser/.local/share/discord_rss_bot/
- data:/home/botuser/.local/share/discord_rss_bot/
healthcheck:
test: [ "CMD", "poetry", "run", "python", "discord_rss_bot/healthcheck.py" ]
test: ["CMD", "python", "discord_rss_bot/healthcheck.py"]
interval: 1m
timeout: 10s
retries: 3
start_period: 5s
restart: unless-stopped
volumes:
data: