Skip to content

Instantly share code, notes, and snippets.

@Darkflib
Last active April 22, 2022 22:40
Show Gist options
  • Select an option

  • Save Darkflib/6e05b548b72967cd947b519faca83982 to your computer and use it in GitHub Desktop.

Select an option

Save Darkflib/6e05b548b72967cd947b519faca83982 to your computer and use it in GitHub Desktop.
version: "2.4"
services:
transmission:
image: linuxserver/transmission:latest
network_mode: service:gluetun
restart: always
environment:
- PGID=100
- PUID=1032
volumes:
- ./downloads:/downloads:rw
- ./transmission-config:/config:rw
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
cap_add:
- NET_ADMIN
ports:
- 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks
- 8000:8000/tcp # Built-in HTTP control server
- 9091:9091/tcp # transmission
volumes:
- ./gluetun:/gluetun:rw
environment:
# More variables are available, see the Wiki table
- VPN_SERVICE_PROVIDER=private internet access
- OPENVPN_USER=p12345678
- OPENVPN_PASSWORD=xxxxxxxxxx.yyyyyy
- SERVER_REGION=Netherlands
- PGID=100
- PUID=1032
# Timezone for accurate logs times
- TZ=ETC/UTC
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment