Skip to content

Instantly share code, notes, and snippets.

@jitheshkt
Created December 29, 2019 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jitheshkt/9795a4007b7cf119b999b3dc55b50d49 to your computer and use it in GitHub Desktop.
Save jitheshkt/9795a4007b7cf119b999b3dc55b50d49 to your computer and use it in GitHub Desktop.
Transmission client with Docker-compose & Traefik 2.0
version: "2"
services:
transmission:
image: linuxserver/transmission
container_name: transmission
environment:
- PUID=1001
- PGID=1001
- USER=username #optional
- PASS=password #optional
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.transmission-secure.rule=Host(`transmission.website.com`)"
- "traefik.http.routers.transmission-secure.tls=true"
- "traefik.http.routers.transmission-secure.tls.certresolver=http"
volumes:
- ./config:/config
- ./downloads/:/downloads
ports:
- 9091:9091
- 51413:51413
- 51413:51413/udp
restart: unless-stopped
networks:
proxy:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment