Use one command for updating with Docker Compose (#929)

This commit is contained in:
Philip H 2024-03-21 11:42:00 +01:00 committed by GitHub
commit 81cae5e231
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 7 deletions

View File

@ -120,13 +120,11 @@ docker pull ghcr.io/wg-easy/wg-easy
And then run the `docker run -d \ ...` command above again.
To update using Docker Compose:
```shell
docker compose pull
docker compose up --detach
```
With Docker Compose WireGuard Easy can be updated with a single command:
`docker compose up --detach --pull always` (if an image tag is specified in the
Compose file and it is not `latest`, make sure that it is changed to the desired
one; by default it is omitted and
[defaults to `latest`](https://docs.docker.com/engine/reference/run/#image-references)). \
The WireGuared Easy container will be automatically recreated if a newer image
was pulled.