mirror of
https://github.com/ivuorinen/docker-xmrig.git
synced 2026-02-26 04:53:30 +00:00
feat: add watchtower for autoupdates
This commit is contained in:
@@ -10,3 +10,7 @@ services:
|
|||||||
- ./log:/xmrig/log
|
- ./log:/xmrig/log
|
||||||
command: ["/xmrig/xmrig", "--config=/xmrig/etc/config.json"]
|
command: ["/xmrig/xmrig", "--config=/xmrig/etc/config.json"]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
watchtower:
|
||||||
|
image: containrrr/watchtower
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|||||||
Reference in New Issue
Block a user