From 6a91e090df317ff9c9a618824dae8164e1c542e3 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Wed, 26 Jun 2024 20:26:18 +0200 Subject: [PATCH] Update link Signed-off-by: Bensuperpc --- caddy/bensuperpc.org/Caddyfile | 13 +++++++++++-- docker-compose.psitransfer.yml | 8 ++++++++ env/psitransfer.env | 1 + 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/caddy/bensuperpc.org/Caddyfile b/caddy/bensuperpc.org/Caddyfile index 67498f1..b1f5c86 100644 --- a/caddy/bensuperpc.org/Caddyfile +++ b/caddy/bensuperpc.org/Caddyfile @@ -47,10 +47,14 @@ uptimekuma.bensuperpc.org { reverse_proxy uptime-kuma:3001 } -qbittorrent.bensuperpc.org { +torrent.bensuperpc.org { reverse_proxy qbittorrent:8080 } +qbittorrent.bensuperpc.org { + redir https://torrent.bensuperpc.org permanent +} + transmission.bensuperpc.org { reverse_proxy transmission:9091 } @@ -63,10 +67,14 @@ jellyfin.bensuperpc.org { reverse_proxy jellyfin:8096 } -psitransfer.bensuperpc.org { +transfer.bensuperpc.org { reverse_proxy psitransfer:3000 } +psitransfer.bensuperpc.org { + redir https://transfer.bensuperpc.org{uri} permanent +} + syncthing.bensuperpc.org { reverse_proxy syncthing:8384 { header_up Host {upstream_hostport} @@ -98,4 +106,5 @@ link.bensuperpc.org { redir /jojo https://youtu.be/U0TXIXTzJEY?si=2acWJWX06ju2w4uj permanent redir /patapon https://youtu.be/H6CbNHLHkmk?si=ZvU8SzrOK-oCUXT5 permanent redir /darkwater https://youtu.be/Tr8ZgF4Dc0E?si=CEOmm2J6Jp5rdbbt permanent + redir /train https://youtu.be/l8mScKWj3kQ?si=BV07uJ9eP3kzV9Kl permanent } diff --git a/docker-compose.psitransfer.yml b/docker-compose.psitransfer.yml index 9e70591..37e7e0c 100644 --- a/docker-compose.psitransfer.yml +++ b/docker-compose.psitransfer.yml @@ -16,6 +16,14 @@ services: - infra-network security_opt: - no-new-privileges:true + deploy: + resources: + limits: + cpus: '0.5' + memory: 512M + reservations: + cpus: '0.001' + memory: 20M volumes: psitransfer_data: diff --git a/env/psitransfer.env b/env/psitransfer.env index 8fcc960..4032ffe 100644 --- a/env/psitransfer.env +++ b/env/psitransfer.env @@ -1 +1,2 @@ PSITRANSFER_ADMIN_PASS=n9jLVNT9QUotTJTT91JqH4GyBTg9pvEn +#PSITRANSFER_PORT=3000