Created
December 27, 2023 17:52
-
-
Save Minemobs/27984aedd0f80b017e8e5e3bf33d47ac to your computer and use it in GitHub Desktop.
transmission-openvpn
This file contains 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 characters
version: "2.1" | |
services: | |
gluetun: | |
image: qmcgaw/gluetun | |
cap_add: | |
- NET_ADMIN | |
devices: | |
- /dev/net/tun:/dev/net/tun | |
ports: | |
- 8888:8888/tcp # HTTP proxy | |
- 8388:8388/tcp # Shadowsocks | |
- 8388:8388/udp # Shadowsocks | |
- 9091:9091 | |
- 51413:51413 | |
- 51413:51413/udp | |
volumes: | |
- ./gluetun:/gluetun | |
environment: | |
- FIREWALL_OUTBOUND_SUBNETS=192.168.1.0/24 | |
- VPN_SERVICE_PROVIDER=protonvpn | |
- OPENVPN_USER=YOUR_OPENVPN_USERNAME | |
- OPENVPN_PASSWORD=YOUR_OPENVPN_PASSWORD | |
- SERVER_COUNTRIES=Spain | |
- TZ=Europe/Paris | |
transmission: | |
image: lscr.io/linuxserver/transmission:latest | |
container_name: transmission | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=Europe/Paris | |
volumes: | |
- ./:/config | |
restart: unless-stopped | |
network_mode: "service:gluetun" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment