add restart unless stopped to compose
All checks were successful
release-tag / release-image (push) Successful in 22s
All checks were successful
release-tag / release-image (push) Successful in 22s
add auto update using containerr watchtower
This commit is contained in:
parent
6f0a66d51d
commit
0341a70746
@ -2,6 +2,13 @@ services:
|
||||
avocadi-bot:
|
||||
container_name: avocadi-bot
|
||||
image: git.unom.io/moriese/avocadi-bot:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./.env:/usr/src/app/.env
|
||||
- ./prod.sqlite:/usr/src/app/prod.sqlite:rw
|
||||
watchtower:
|
||||
image: containrrr/watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /root/.docker/config.json:/config.json
|
||||
command: --interval 360
|
||||
|
Loading…
x
Reference in New Issue
Block a user