35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
version: "3.7"
|
|
services:
|
|
transmission:
|
|
image: lscr.io/linuxserver/transmission:latest
|
|
container_name: transmission
|
|
dns:
|
|
- ${DNS_IP}
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=${TZ}
|
|
- USER=${TRANSMISSION_USERNAME}
|
|
- PASS=${TRANSMISSION_PASSWORD}
|
|
- TRANSMISSION_WEB_HOME=/transmission-web-control/
|
|
# - WHITELIST=iplist #optional
|
|
# - PEERPORT=peerport #optional
|
|
# - HOST_WHITELIST=dnsnane list #optional
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/config:/config
|
|
- ${ROOT_FOLDER_HOST}/media/torrents:/downloads
|
|
ports:
|
|
- ${APP_PORT}:9091
|
|
- 51413:51413
|
|
- 51413:51413/udp
|
|
restart: unless-stopped
|
|
networks:
|
|
- tipi_main_network
|
|
labels:
|
|
traefik.enable: ${APP_EXPOSED}
|
|
traefik.http.routers.transmission.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.transmission.entrypoints: websecure
|
|
traefik.http.routers.transmission.service: transmission
|
|
traefik.http.routers.transmission.tls.certresolver: myresolver
|
|
traefik.http.services.transmission.loadbalancer.server.port: 9091
|