Browse Source

improve docs

pull/1720/head
Bernd Storath 5 months ago
parent
commit
6c6503dc39
  1. 6
      docs/content/examples/tutorials/auto-updates.md
  2. 6
      docs/content/examples/tutorials/docker-run.md

6
docs/content/examples/tutorials/auto-updates.md

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

6
docs/content/examples/tutorials/docker-run.md

@ -4,7 +4,7 @@ title: Docker Run
To setup the IPv6 Network, simply run once: To setup the IPv6 Network, simply run once:
```bash ```shell
docker network create \ docker network create \
-d bridge --ipv6 \ -d bridge --ipv6 \
-d default \ -d default \
@ -14,9 +14,9 @@ To setup the IPv6 Network, simply run once:
<!-- ref: major version --> <!-- ref: major version -->
To automatically install & run wg-easy, simply run: To automatically install & run ``wg-easy, simply run:
```bash ```shell
docker run -d \ docker run -d \
--net wg \ --net wg \
-e INSECURE=true \ -e INSECURE=true \

Loading…
Cancel
Save