Browse Source

tweaks

master
Jeremy Andrews 6 years ago
parent
commit
ef66e85f34
6 changed files with 10 additions and 6 deletions
  1. 1
    1
      Dockerfile
  2. 0
    2
      docker-compose-armhf.yml
  3. 0
    2
      docker-compose.yml
  4. 1
    0
      openvpn/tunnelDown.sh
  5. 1
    1
      openvpn/tunnelUp.sh
  6. 7
    0
      tinyproxy/stop.sh

+ 1
- 1
Dockerfile View File

@@ -16,7 +16,7 @@ RUN apt-get update \
&& apt-get update \
&& apt-get install -y transmission-cli transmission-common transmission-daemon \
&& apt-get install -y openvpn curl rar unrar zip unzip wget \
&& apt-get install -y tinyproxy telnet\
&& apt-get install -y tinyproxy telnet \
&& curl -sLO https://github.com/Yelp/dumb-init/releases/download/v1.0.1/dumb-init_1.0.1_amd64.deb \
&& dpkg -i dumb-init_*.deb \
&& rm -rf dumb-init_*.deb \

+ 0
- 2
docker-compose-armhf.yml 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

+ 0
- 2
docker-compose.yml 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:

+ 1
- 0
openvpn/tunnelDown.sh View File

@@ -1,3 +1,4 @@
#!/bin/sh

/etc/transmission/stop.sh
/opt/tinyproxy/stop.sh

+ 1
- 1
openvpn/tunnelUp.sh View File

@@ -1,4 +1,4 @@
#!/bin/sh

/etc/transmission/start.sh
/etc/tinyproxy/start.sh
/opt/tinyproxy/start.sh

+ 7
- 0
tinyproxy/stop.sh View File

@@ -0,0 +1,7 @@
#!/bin/bash

if [ "${WEBPROXY_ENABLED}" = "true" ]; then

/etc/init.d/tinyproxy stop

fi

Loading…
Cancel
Save