From afc9e6b166c0a28949a320cfd76b0f9304bdc71d Mon Sep 17 00:00:00 2001 From: Samuel Jones Date: Sat, 7 Jan 2017 09:14:33 +1100 Subject: [PATCH] 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/) --- docker-compose-armhf.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker-compose-armhf.yml b/docker-compose-armhf.yml index 8580b7f45..fb4583750 100644 --- a/docker-compose-armhf.yml +++ b/docker-compose-armhf.yml @@ -5,6 +5,7 @@ services: build: context: . dockerfile: Dockerfile.armhf + image: haugene/rpi-transmission-openvpn privileged: true restart: always ports: @@ -19,11 +20,14 @@ services: - OPENVPN_PROVIDER=PIA - OPENVPN_USERNAME=username - 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 proxy: - build: ./proxy/Dockerfile.armhf + build: + context: ./proxy + dockerfile: Dockerfile.armhf + image: haugene/rpi-transmission-openvpn-proxy links: - transmission ports: