mirror of
https://github.com/thelittlerocket/zero-ui.git
synced 2024-12-27 01:14:34 +08:00
docs: add automatic updates example in README.md
This commit is contained in:
parent
c64221b5ae
commit
1363c474ba
1 changed files with 9 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue