-
Notifications
You must be signed in to change notification settings - Fork 88
/
Copy pathdocker-compose.yml
35 lines (33 loc) · 967 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: '3'
services:
transmission:
image: 'linuxserver/transmission:latest'
container_name: transmission
restart: unless-stopped
volumes:
- ./data/config:/config
- ./data/downloads:/downloads
- ./data/watch:/watch
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- USER=${WEB_USER}
- PASS=${WEB_PASS}
ports:
- 51413:51413
- 51413:51413/udp
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.transmission.rule=Host(`${TRAEFIK_TRANSMISSION}`)"
- "traefik.http.routers.transmission.entrypoints=https"
- "traefik.http.routers.transmission.tls=true"
- "traefik.http.routers.transmission.tls.certresolver=mydnschallenge"
- "traefik.http.services.transmission.loadbalancer.server.port=9091"
# Watchtower Update
- "com.centurylinklabs.watchtower.enable=true"
networks:
proxy:
external: true