Created
December 29, 2019 08:43
-
-
Save jitheshkt/9795a4007b7cf119b999b3dc55b50d49 to your computer and use it in GitHub Desktop.
Transmission client with Docker-compose & Traefik 2.0
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 characters
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