From 1363c474bac46e27b881b55bd5319ce939baef07 Mon Sep 17 00:00:00 2001 From: dec0dOS Date: Mon, 22 Mar 2021 22:47:31 +0300 Subject: [PATCH] docs: add automatic updates example in README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index ad6c683..51860de 100755 --- a/README.md +++ b/README.md @@ -161,6 +161,15 @@ To get the latest version just run docker-compose down && docker-compose pull && docker-compose up -d --no-build in the folder where `docker-compose.yml` is located. Backup is not required as your data is saved in Docker volumes but recommended. +You could also set up [watchtower](https://github.com/containrrr/watchtower) for automatic updates. + + docker run -d \ + --name watchtower \ + -v /var/run/docker.sock:/var/run/docker.sock \ + --restart always \ + containrrr/watchtower \ + --cleanup --include-restarting \ + dec0dos/zero-ui dec0dos/zerotier-controller ### Backup The easiest way to create your ZeroUI data backup is to use the following commands: