Created
May 17, 2025 03:31
-
-
Save jhs88/2f9cf3cbf7b1511d938e96b03938a875 to your computer and use it in GitHub Desktop.
Revisions
-
jhs88 created this gist
May 17, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ services: transmission-openvpn: image: haugene/transmission-openvpn:latest # privileged: true restart: unless-stopped ports: ['9091:9091', '8118:8118'] cap_add: [NET_ADMIN] devices: [/dev/net/tun] secrets: [openvpn_creds] environment: - OPENVPN_PROVIDER=PIA - OPENVPN_CONFIG=bahamas,ca_toronto,ca_montreal,mexico - OPENVPN_USERNAME=**None** - OPENVPN_PASSWORD=**None** # Set to current network subnet - LOCAL_NETWORK=192.168.x.0/24 - OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60 - TRANSMISSION_SCRAPE_PAUSED_TORRENTS_ENABLED=false - TRANSMISSION_SPEED_LIMIT_UP_ENABLED=true # use when inside vm - CREATE_TUN_DEVICE=false volumes: - '/mnt/torrents:/data' - './config:/config' logging: driver: json-file options: max-size: 10m secrets: openvpn_creds: file: ./openvpn-credentials.txt