Files
docker-deluge-openvpn/README.md
Eldwan Brianne 7d294e385f Updated Readme
2020-11-10 23:46:10 +01:00

79 lines
2.4 KiB
Markdown

# OpenVPN and Deluge with WebUI
## Acknowledgments
This project is based heavily on the fork of [docker-transmission-openvpn](https://github.com/haugene/docker-transmission-openvpn).
## Quick Start
This container contains OpenVPN and Deluge with a configuration
where Deluge is running only when OpenVPN has an active tunnel.
It bundles configuration files for many popular VPN providers to make the setup easier.
```
$ docker run --cap-add=NET_ADMIN -d \
-v /your/storage/path/:/data \
-e OPENVPN_PROVIDER=PIA \
-e OPENVPN_CONFIG=France \
-e OPENVPN_USERNAME=user \
-e OPENVPN_PASSWORD=pass \
-e WEBPROXY_ENABLED=false \
-e LOCAL_NETWORK=192.168.0.0/16 \
--log-driver json-file \
--log-opt max-size=10m \
-p 8112:8112 \
ebrianne/deluge-openvpn
```
## Docker Compose
```
version: '3.3'
services:
deluge-openvpn:
volumes:
- '/your/storage/path/:/data'
environment:
- OPENVPN_PROVIDER=PIA
- OPENVPN_CONFIG=France
- OPENVPN_USERNAME=user
- OPENVPN_PASSWORD=pass
- WEBPROXY_ENABLED=false
- LOCAL_NETWORK=192.168.0.0/16
cap_add:
- NET_ADMIN
logging:
driver: json-file
options:
max-size: 10m
ports:
- '8112:8112'
image: ebrianne/deluge-openvpn
```
## Documentation
The full documentation is available at https://haugene.github.io/docker-transmission-openvpn/.
## Environment variables
| Variable | Value |
| -------------------|:-------------:|
| OPENVPN_USERNAME | **None** |
| OPENVPN_PASSWORD | **None** |
| OPENVPN_PROVIDER | **None** |
| CREATE_TUN_DEVICE | true |
| ENABLE_UFW | false |
| UFW_EXTRA_PORTS | **None** |
| UFW_ALLOW_GW_NET | false |
| PUID | **None** |
| PGID | **None** |
| DROP_DEFAULT_ROUTE | **None** |
| WEBPROXY_ENABLED | false |
| WEBPROXY_PORT | 8888 |
| WEBPROXY_USERNAME | **None** |
| WEBPROXY_PASSWORD | **None** |
| HEALTH_CHECK_HOST | google.com |
| LANG | en_US.UTF-8 |
| LANGUAGE | en_US.UTF-8 |
| TERM | xterm |
| LOCAL_NETWORK | **None** |