diff --git a/docker-compose.yml b/docker-compose.yml index 74e9763..a4a63bc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -59,6 +59,15 @@ services: networks: private: + watchtower: + image: v2tec/watchtower + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - $HOME/.docker/config.json:/config.json + environment: + WATCHTOWER_IMAGES: ${WATCHTOWER_IMAGES} + command: --interval 3600 --cleanup + networks: public: