feat: add watchtower for autoupdates

This commit is contained in:
2024-04-21 12:30:29 +03:00
parent fa6e71bdcc
commit 8f094a7868

View File

@@ -10,3 +10,7 @@ services:
- ./log:/xmrig/log
command: ["/xmrig/xmrig", "--config=/xmrig/etc/config.json"]
restart: unless-stopped
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock