Fix docker-compose errors and introduce image names
- Removed double quotes from the "OPENVPN_OPTS=" line due to literal interpretation that would cause an issue at /openvpn/start.sh:57 when executed. - Fixed failing "proxy/build" instruction. Splitting into "context" and "dockerfile" subkeys prevents the error "TypeError: You must specify a directory to build in path" - Introduced "image: haugene/rpi-transmission-openvpn*" lines to each docker-compose structure to transition to Docker Hub hosted images in the future. (see https://resin.io/blog/building-arm-containers-on-any-x86-machine-even-dockerhub/)
This commit is contained in:
@@ -5,6 +5,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile.armhf
|
dockerfile: Dockerfile.armhf
|
||||||
|
image: haugene/rpi-transmission-openvpn
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -19,11 +20,14 @@ services:
|
|||||||
- OPENVPN_PROVIDER=PIA
|
- OPENVPN_PROVIDER=PIA
|
||||||
- OPENVPN_USERNAME=username
|
- OPENVPN_USERNAME=username
|
||||||
- OPENVPN_PASSWORD=password
|
- OPENVPN_PASSWORD=password
|
||||||
- OPENVPN_OPTS="--inactive 3600 --ping 10 --ping-exit 60"
|
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
|
||||||
- LOCAL_NETWORK=192.168.0.0/24
|
- LOCAL_NETWORK=192.168.0.0/24
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
build: ./proxy/Dockerfile.armhf
|
build:
|
||||||
|
context: ./proxy
|
||||||
|
dockerfile: Dockerfile.armhf
|
||||||
|
image: haugene/rpi-transmission-openvpn-proxy
|
||||||
links:
|
links:
|
||||||
- transmission
|
- transmission
|
||||||
ports:
|
ports:
|
||||||
|
Reference in New Issue
Block a user