mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 00:34:26 +01:00
Add transmission
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
f22ca7a7f0
commit
8b479921c7
4
Makefile
4
Makefile
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
28
docker-compose.transmission.yml
Normal file
28
docker-compose.transmission.yml
Normal 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
5
env/transmission.env
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
PUID=1000
|
||||
PGID=1000
|
||||
TZ=Etc/UTC
|
||||
USER=admin
|
||||
PASS=4vqXCNGG09JUBe7rXkuQS8MG7ovE6Vxj
|
Loading…
Reference in New Issue
Block a user