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 671B

1234567891011121314151617181920212223242526272829303132
  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. proxy:
  26. image: haugene/transmission-openvpn-proxy
  27. links:
  28. - transmission
  29. ports:
  30. - 8080:8080
  31. volumes:
  32. - /etc/localtime:/etc/localtime:ro