mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-08-12 01:07:11 +02:00
documentation: add /config volume to templates (#2451)
* Update README.md * Update run-container.md
This commit is contained in:
parent
b33d0fe4c9
commit
3fcec72c84
@ -32,6 +32,7 @@ at some point, but this is a good place to start.
|
|||||||
```
|
```
|
||||||
$ docker run --cap-add=NET_ADMIN -d \
|
$ docker run --cap-add=NET_ADMIN -d \
|
||||||
-v /your/storage/path/:/data \
|
-v /your/storage/path/:/data \
|
||||||
|
-v /your/config/path/:/config \
|
||||||
-e OPENVPN_PROVIDER=PIA \
|
-e OPENVPN_PROVIDER=PIA \
|
||||||
-e OPENVPN_CONFIG=france \
|
-e OPENVPN_CONFIG=france \
|
||||||
-e OPENVPN_USERNAME=user \
|
-e OPENVPN_USERNAME=user \
|
||||||
@ -52,6 +53,7 @@ services:
|
|||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
volumes:
|
volumes:
|
||||||
- '/your/storage/path/:/data'
|
- '/your/storage/path/:/data'
|
||||||
|
- '/your/config/path/:/config'
|
||||||
environment:
|
environment:
|
||||||
- OPENVPN_PROVIDER=PIA
|
- OPENVPN_PROVIDER=PIA
|
||||||
- OPENVPN_CONFIG=france
|
- OPENVPN_CONFIG=france
|
||||||
|
@ -21,6 +21,7 @@ The example Docker run command looks like this:
|
|||||||
```
|
```
|
||||||
$ docker run --cap-add=NET_ADMIN -d \
|
$ docker run --cap-add=NET_ADMIN -d \
|
||||||
-v /your/storage/path/:/data \
|
-v /your/storage/path/:/data \
|
||||||
|
-v /your/config/path/:/config \
|
||||||
-e OPENVPN_PROVIDER=PIA \
|
-e OPENVPN_PROVIDER=PIA \
|
||||||
-e OPENVPN_CONFIG=france \
|
-e OPENVPN_CONFIG=france \
|
||||||
-e OPENVPN_USERNAME=user \
|
-e OPENVPN_USERNAME=user \
|
||||||
|
Loading…
Reference in New Issue
Block a user