add watchtower

Signed-off-by: Amelia Aronsohn <squirrel@wearing.black>
This commit is contained in:
Amelia A 2023-08-11 20:48:32 -07:00
parent 6c2b1e82ec
commit fff63903bf
Signed by: amy
SSH Key Fingerprint: SHA256:qBZcJvigz/2V1hkfVzAi8HqF6mV2YpjkcIaZ8CB04rU
1 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,4 @@
---
networks:
backend:
external: false
@ -5,6 +6,7 @@ networks:
volumes:
gitea-data:
services:
gitea:
image: gitea/gitea:1
@ -17,3 +19,11 @@ services:
ports:
- "2222:22"
- "127.0.0.1:3000:3000"
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# - /root/.docker/config.json:/config.json
# Once an hour
command: --interval 3600