Add docker-compose.yml
This commit is contained in:
parent
0a66608085
commit
07570df19b
1 changed files with 15 additions and 0 deletions
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
services:
|
||||
discord-rss-bot:
|
||||
image: ghcr.io/thelovinator1/discord-rss-bot:latest
|
||||
container_name: discord-rss-bot
|
||||
expose:
|
||||
- "5000:5000"
|
||||
volumes:
|
||||
- /Docker/Bots/discord-rss-bot:/home/botuser/.local/share/discord_rss_bot/
|
||||
healthcheck:
|
||||
test: [ "CMD", "poetry", "run", "python", "discord_rss_bot/healthcheck.py" ]
|
||||
interval: 1m
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
restart: unless-stopped
|
||||
Loading…
Add table
Add a link
Reference in a new issue