This commit is contained in:
Jeremy Andrews
2018-01-01 13:38:25 +13:00
parent 87c548d767
commit ef66e85f34
6 changed files with 10 additions and 6 deletions

View File

@@ -26,8 +26,6 @@ services:
- OPENVPN_PASSWORD=password
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
- LOCAL_NETWORK=192.168.0.0/24
- WEBPROXY_ENABLED=true
- WEBPROXY_PORT=8888
proxy:
build:
context: ./proxy

View File

@@ -22,8 +22,6 @@ services:
- OPENVPN_PASSWORD=password
- OPENVPN_OPTS="--inactive 3600 --ping 10 --ping-exit 60"
- LOCAL_NETWORK=192.168.0.0/24
- WEBPROXY_ENABLED=true
- WEBPROXY_PORT=8888
proxy:
image: haugene/transmission-openvpn-proxy
links:

View File

@@ -1,3 +1,4 @@
#!/bin/sh
/etc/transmission/stop.sh
/opt/tinyproxy/stop.sh

View File

@@ -1,4 +1,4 @@
#!/bin/sh
/etc/transmission/start.sh
/etc/tinyproxy/start.sh
/opt/tinyproxy/start.sh

7
tinyproxy/stop.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
if [ "${WEBPROXY_ENABLED}" = "true" ]; then
/etc/init.d/tinyproxy stop
fi