Update docker-compose.yml

This commit is contained in:
LRVT 2023-03-01 11:14:53 +01:00 committed by GitHub
parent daee7a0051
commit 87429c7085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
version: "2.1" version: "2.1"
services: services:
transmission: transmission:
image: lscr.io/linuxserver/transmission:latest image: lscr.io/linuxserver/transmission:latest
@ -6,11 +7,13 @@ services:
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- TZ=America/Chicago - TZ=Europe/Berlin
volumes: volumes:
- '${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/transmission/data:/config' - '${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/transmission/config:/config'
- '${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/transmission/downloads:/downloads' - '${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/transmission/downloads:/downloads'
- '${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/transmission/watch:/watch' - '${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/transmission/watch:/watch'
ports: ports:
- 9091:9091 - 9091:9091 # web ui
- 51413:51413 # torrent port tcp
- 51413:51413/udp # torrent port udp
restart: unless-stopped restart: unless-stopped