From 3fcec72c84d59c5245ee71a1665af1e205e8562d Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Thu, 1 Dec 2022 10:36:51 +0000 Subject: [PATCH] documentation: add /config volume to templates (#2451) * Update README.md * Update run-container.md --- README.md | 2 ++ docs/run-container.md | 1 + 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 37a6d069a..eb5311e02 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/run-container.md b/docs/run-container.md index ef0fd1eaa..6fd9418b3 100755 --- a/docs/run-container.md +++ b/docs/run-container.md @@ -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 \