You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 724B

12345678910111213141516171819202122232425262728293031323334
  1. version: '2'
  2. services:
  3. transmission:
  4. image: haugene/transmission-openvpn
  5. cap_add:
  6. - NET_ADMIN
  7. devices:
  8. - /dev/net/tun
  9. restart: always
  10. ports:
  11. - "9091:9091"
  12. - "8888:8888"
  13. dns:
  14. - 8.8.8.8
  15. - 8.8.4.4
  16. volumes:
  17. - /etc/localtime:/etc/localtime:ro
  18. - /your/storage/path/:/data
  19. environment:
  20. - OPENVPN_PROVIDER=PIA
  21. - OPENVPN_USERNAME=username
  22. - OPENVPN_PASSWORD=password
  23. - OPENVPN_OPTS="--inactive 3600 --ping 10 --ping-exit 60"
  24. - LOCAL_NETWORK=192.168.0.0/24
  25. - WEBPROXY_ENABLED=true
  26. - WEBPROXY_PORT=8888
  27. proxy:
  28. image: haugene/transmission-openvpn-proxy
  29. links:
  30. - transmission
  31. ports:
  32. - 8080:8080
  33. volumes:
  34. - /etc/localtime:/etc/localtime:ro