Update supported-providers.md (#2640)

Added additional support doc info for using a custom OVPN
This commit is contained in:
developersteve 2023-06-29 14:05:49 +10:00 committed by GitHub
parent fad0ad1fb3
commit 55d77cfd66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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