- 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/)
		
			
				
	
	
		
			37 lines
		
	
	
		
			750 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			750 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| version: '2'
 | |
| 
 | |
| services:
 | |
|  transmission:
 | |
|   build: 
 | |
|      context: .
 | |
|      dockerfile: Dockerfile.armhf
 | |
|   image: haugene/rpi-transmission-openvpn
 | |
|   privileged: true
 | |
|   restart: always
 | |
|   ports:
 | |
|     - "9091:9091"
 | |
|   dns:
 | |
|     - 8.8.8.8
 | |
|     - 8.8.4.4
 | |
|   volumes:
 | |
|     - /etc/localtime:/etc/localtime:ro
 | |
|     - /your/storage/path/:/data
 | |
|   environment:
 | |
|     - OPENVPN_PROVIDER=PIA
 | |
|     - OPENVPN_USERNAME=username
 | |
|     - OPENVPN_PASSWORD=password
 | |
|     - OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
 | |
|     - LOCAL_NETWORK=192.168.0.0/24
 | |
| 
 | |
|  proxy:
 | |
|   build:
 | |
|      context: ./proxy
 | |
|      dockerfile: Dockerfile.armhf
 | |
|   image: haugene/rpi-transmission-openvpn-proxy
 | |
|   links:
 | |
|     - transmission
 | |
|   ports:
 | |
|     - "8080:8080"
 | |
|   volumes:
 | |
|     - /etc/localtime:/etc/localtime:ro
 |