Fix all the bugs

This commit is contained in:
2024-05-18 04:05:05 +02:00
parent 9c63916716
commit 73cf7c489c
33 changed files with 831 additions and 396 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: