Add transmission

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-05-19 22:32:34 +02:00
parent f22ca7a7f0
commit 8b479921c7
No known key found for this signature in database
GPG Key ID: 15D0B1525584D383
4 changed files with 41 additions and 2 deletions

View File

@ -13,9 +13,11 @@
DOCKER := docker
PROFILES := caddy wordpress adminer backup qbittorrent syncthing gitea gitea-runner uptime-kuma jellyfin watchtower
PROFILES := caddy wordpress adminer backup transmission syncthing gitea gitea-runner uptime-kuma jellyfin watchtower
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
# qbittorrent
COMPOSE_FILES := $(shell find docker-compose*.yml | sed -e 's/^/--file /')
.PHONY: build all

View File

@ -47,10 +47,14 @@ uptimekuma.bensuperpc.org {
reverse_proxy uptime-kuma:3001
}
torrent.bensuperpc.org {
qbittorrent.bensuperpc.org {
reverse_proxy qbittorrent:8080
}
transmission.bensuperpc.org {
reverse_proxy transmission:9091
}
git.bensuperpc.org {
reverse_proxy gitea:3000
}

View File

@ -0,0 +1,28 @@
services:
# transmission
transmission:
image: lscr.io/linuxserver/transmission:latest
container_name: transmission
profiles:
- transmission
restart: on-failure:5
depends_on:
- caddy
env_file:
- env/transmission.env
volumes:
- transmission_config:/config
- transmission_data:/downloads
- transmission_watch:/watch
networks:
- infra-network
security_opt:
- no-new-privileges:true
volumes:
transmission_config:
name: transmission_config
transmission_data:
name: transmission_data
transmission_watch:
name: transmission_watch

5
env/transmission.env vendored Normal file
View File

@ -0,0 +1,5 @@
PUID=1000
PGID=1000
TZ=Etc/UTC
USER=admin
PASS=4vqXCNGG09JUBe7rXkuQS8MG7ovE6Vxj