24 lines
544 B
YAML
24 lines
544 B
YAML
version: "2.1"
|
|
|
|
services:
|
|
transmission:
|
|
image: lscr.io/linuxserver/transmission:latest
|
|
container_name: transmission
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/Stockholm
|
|
- USER=${USERNAME} #optional
|
|
- PASS=${PASSWORD} #optional
|
|
- WHITELIST= #optional
|
|
- PEERPORT= #optional
|
|
- HOST_WHITELIST= #optional
|
|
volumes:
|
|
- ./data:/config
|
|
- /mnt/data/downloads:/downloads
|
|
ports:
|
|
- 9091:9091
|
|
- 51413:51413
|
|
- 51413:51413/udp
|
|
restart: unless-stopped
|