From 2a419639171aca244ac4bf73bea5b34a9b608911 Mon Sep 17 00:00:00 2001 From: Adrian Barrio Date: Thu, 10 Oct 2024 09:44:40 +0200 Subject: [PATCH 1/4] feat: add Transmission template --- public/svgs/transmission.svg | 1 + templates/compose/transmission.yaml | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 public/svgs/transmission.svg create mode 100644 templates/compose/transmission.yaml diff --git a/public/svgs/transmission.svg b/public/svgs/transmission.svg new file mode 100644 index 000000000..9a11f77f4 --- /dev/null +++ b/public/svgs/transmission.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/compose/transmission.yaml b/templates/compose/transmission.yaml new file mode 100644 index 000000000..3a0d05c32 --- /dev/null +++ b/templates/compose/transmission.yaml @@ -0,0 +1,13 @@ +services: + transmission: + image: "lscr.io/linuxserver/transmission:latest" + environment: + - SERVICE_FQDN_transmission_9091 + - PUID=1000 + - PGID=1000 + - USER=${SERVICE_USER_ADMIN} + - PASS=${SERVICE_PASSWORD_ADMIN} + volumes: + - "config:/config" + - "downloads:/downloads" + - "watch:/watch" From 44d0b9918b8f523f985e9140b23fe61c56795d29 Mon Sep 17 00:00:00 2001 From: Adrian Barrio Date: Thu, 10 Oct 2024 10:44:00 +0200 Subject: [PATCH 2/4] feat: add transmission healhcheck --- templates/compose/transmission.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/templates/compose/transmission.yaml b/templates/compose/transmission.yaml index 3a0d05c32..76f8bad47 100644 --- a/templates/compose/transmission.yaml +++ b/templates/compose/transmission.yaml @@ -11,3 +11,15 @@ services: - "config:/config" - "downloads:/downloads" - "watch:/watch" + healthcheck: + test: [ + "CMD", + "curl", + "-sSfL", + "-u", + "${SERVICE_USER_ADMIN}:${SERVICE_PASSWORD_ADMIN}", + "http://localhost:9091/" + ] + interval: 30s + timeout: 10s + retries: 3 \ No newline at end of file From 8d23331a2088500ab57b9d480b3569f9734fc49d Mon Sep 17 00:00:00 2001 From: Adrian Barrio Date: Thu, 10 Oct 2024 10:44:44 +0200 Subject: [PATCH 3/4] chore: add transmission template desc --- templates/compose/transmission.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/compose/transmission.yaml b/templates/compose/transmission.yaml index 76f8bad47..7e2719f1d 100644 --- a/templates/compose/transmission.yaml +++ b/templates/compose/transmission.yaml @@ -1,3 +1,9 @@ +# documentation: https://transmissionbt.com/help/ +# slogan: Fast, easy, and free BitTorrent client. +# tags: bittorrent, torrent, peer-to-peer +# logo: svgs/transmission.svg +# port: 9091 + services: transmission: image: "lscr.io/linuxserver/transmission:latest" From d6986726afb6b70cabcc8c63ee0b9a16db980fe2 Mon Sep 17 00:00:00 2001 From: Adrian Barrio Date: Thu, 10 Oct 2024 10:45:29 +0200 Subject: [PATCH 4/4] chore: update transmission docs link --- templates/compose/transmission.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/compose/transmission.yaml b/templates/compose/transmission.yaml index 7e2719f1d..c28951388 100644 --- a/templates/compose/transmission.yaml +++ b/templates/compose/transmission.yaml @@ -1,4 +1,4 @@ -# documentation: https://transmissionbt.com/help/ +# documentation: https://docs.linuxserver.io/images/docker-transmission/ # slogan: Fast, easy, and free BitTorrent client. # tags: bittorrent, torrent, peer-to-peer # logo: svgs/transmission.svg