diff --git a/Makefile b/Makefile index 70afbdf..ebd4b75 100644 --- a/Makefile +++ b/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 diff --git a/caddy/bensuperpc.org/Caddyfile b/caddy/bensuperpc.org/Caddyfile index da68597..14c4cb0 100644 --- a/caddy/bensuperpc.org/Caddyfile +++ b/caddy/bensuperpc.org/Caddyfile @@ -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 } diff --git a/docker-compose.transmission.yml b/docker-compose.transmission.yml new file mode 100644 index 0000000..cde4b9e --- /dev/null +++ b/docker-compose.transmission.yml @@ -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 \ No newline at end of file diff --git a/env/transmission.env b/env/transmission.env new file mode 100644 index 0000000..15d6d16 --- /dev/null +++ b/env/transmission.env @@ -0,0 +1,5 @@ +PUID=1000 +PGID=1000 +TZ=Etc/UTC +USER=admin +PASS=4vqXCNGG09JUBe7rXkuQS8MG7ovE6Vxj \ No newline at end of file