From 55d77cfd666896e7da7811b35d9598439b72fb0f Mon Sep 17 00:00:00 2001 From: developersteve Date: Thu, 29 Jun 2023 14:05:49 +1000 Subject: [PATCH] Update supported-providers.md (#2640) Added additional support doc info for using a custom OVPN --- docs/supported-providers.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/supported-providers.md b/docs/supported-providers.md index 9a9b849f3..4db9f9d6a 100755 --- a/docs/supported-providers.md +++ b/docs/supported-providers.md @@ -122,6 +122,8 @@ Compose sample: - /volume1/docker/ipvanish/:/etc/openvpn/custom/ ``` **Declare the Custom provider, the target server and login/password** +Also important to note here is that `OPENVPN_CONFIG` value needs to be the name of the ovpn file wanting to be referenced in the `/etc/openvpn/custom` volume. In the example below the ovpn file name is `ipvanish-UK-Maidenhead-lhr-c02.ovpn` + Compose sample: ``` - OPENVPN_PROVIDER=custom @@ -129,6 +131,13 @@ Compose sample: - OPENVPN_USERNAME=user - OPENVPN_PASSWORD=pass ``` +Docker ENV vars sample: +``` + -e OPENVPN_PROVIDER=custom \ + -e OPENVPN_CONFIG=ipvanish-UK-Maidenhead-lhr-c02 \ + -e OPENVPN_USERNAME=user \ + -e OPENVPN_PASSWORD=pass \ +``` ### Do not mount single config file