documentation: add /config volume to templates (#2451)

* Update README.md

* Update run-container.md
This commit is contained in:
ilike2burnthing 2022-12-01 10:36:51 +00:00 committed by GitHub
parent b33d0fe4c9
commit 3fcec72c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,7 @@ at some point, but this is a good place to start.
```
$ docker run --cap-add=NET_ADMIN -d \
-v /your/storage/path/:/data \
-v /your/config/path/:/config \
-e OPENVPN_PROVIDER=PIA \
-e OPENVPN_CONFIG=france \
-e OPENVPN_USERNAME=user \
@ -52,6 +53,7 @@ services:
- NET_ADMIN
volumes:
- '/your/storage/path/:/data'
- '/your/config/path/:/config'
environment:
- OPENVPN_PROVIDER=PIA
- OPENVPN_CONFIG=france

View File

@ -21,6 +21,7 @@ The example Docker run command looks like this:
```
$ docker run --cap-add=NET_ADMIN -d \
-v /your/storage/path/:/data \
-v /your/config/path/:/config \
-e OPENVPN_PROVIDER=PIA \
-e OPENVPN_CONFIG=france \
-e OPENVPN_USERNAME=user \