improve docs, add version script

This commit is contained in:
Bernd Storath
2025-03-07 12:00:45 +01:00
parent e5fb6ff3a6
commit 9a029eeb23
15 changed files with 236 additions and 80 deletions

View File

@@ -0,0 +1,34 @@
---
title: Auto Updates
---
## Docker Compose
With Docker Compose WireGuard Easy can be updated with a single command:
Replace `$DIR` with the directory where your `docker-compose.yml` is located.
```shell
cd $DIR
sudo docker compose -f up -d --pull always
```
## Docker Run
```shell
sudo docker stop wg-easy
sudo docker rm wg-easy
sudo docker pull ghcr.io/wg-easy/wg-easy
```
And then run the `docker run -d \ ...` command from [Docker Run][docker-run] again.
[docker-run]: ./docker-run.md
## Podman
To update `wg-easy` (and every container that has auto updates enabled), you can run the following commands:
```shell
sudo podman auto-update
```