version: "2.1"
services:
transmission:
image: linuxserver/transmission
container_name: transmission
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- TRANSMISSION_WEB_HOME=/transmission-web-control/
- USER=admin
- PASS=admin123
volumes:
- /opt/apps/transmission/config:/config
- /opt/apps/transmission/downloads:/downloads
- /opt/apps/transmission/watch:/watch
ports:
- 9091:9091
- 51413:51413
- 51413:51413/udp
restart: unless-stopped
TRANSMISSION_WEB_HOME | /transmission-web-control/ | 指定使用增强的UI |