Skip to content

Instantly share code, notes, and snippets.

@costa
Created March 22, 2023 04:38
Show Gist options
  • Save costa/7fb8eb722ea8cd5329718f7813acc894 to your computer and use it in GitHub Desktop.
Save costa/7fb8eb722ea8cd5329718f7813acc894 to your computer and use it in GitHub Desktop.
simple torrenting "comp" with a web interface
version: '2.1'
services: # NOTE basic, no VPN, setup
torrenting:
image: linuxserver/transmission
environment:
- PORT=9091 # NOTE needed by the (self server) platform
- PEERPORT=31415 # NOTE a random port for torrent proto
- PGID=0 # NOTE the (self server) platform has...
- PUID=0 # ...limited use for permissions
- TZ=Etc/UTC
ports:
# NOTE if run locally, - <LOCAL-WEB-PORT>:9091
# NOTE this port must be open to the world somehow
- 31415:31415
- 31415:31415/udp
volumes:
# NOTE if run locally, set /config, /watch and /downloads mapping differently
- torrenting:/config
# NOTE on the self server platform, this directory must exist
- /mnt/data/comp/drive/data/master/media/downloads:/downloads
volumes:
torrenting:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment