From fb5fc705dcbd02e52a54cc63577ad08d905e4577 Mon Sep 17 00:00:00 2001 From: finn Date: Mon, 13 Apr 2026 14:27:29 -0700 Subject: [PATCH] add stump --- compose.yaml | 15 +++++++++++++++ proxy/Caddyfile | 21 +++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/compose.yaml b/compose.yaml index 8726f96..edb649d 100644 --- a/compose.yaml +++ b/compose.yaml @@ -138,6 +138,21 @@ services: networks: - backnet + stump: + image: aaronleopold/stump + container_name: stump + # Replace my paths (prior to the colons) with your own + volumes: + - ./stump:/config + - /mnt/hub:/data + #ports: + # - 10801:10801 + environment: + - PUID=1000 + - PGID=1000 + restart: unless-stopped + + sshtun: build: context: sshtun diff --git a/proxy/Caddyfile b/proxy/Caddyfile index dab5f02..dd55425 100644 --- a/proxy/Caddyfile +++ b/proxy/Caddyfile @@ -50,3 +50,24 @@ gut.oily.dad { } } +# Subdomain for Stump (comics/books) - book.oily.dad +book.oily.dad { + # Root directory (not strictly needed for reverse proxy) + root * /var/www/html + + # Use existing SSL certificates + tls /etc/letsencrypt/live/oily.dad/fullchain.pem /etc/letsencrypt/live/oily.dad/privkey.pem + + # Reverse proxy to Stump + reverse_proxy http://stump:10801 { + # WebSocket support for Stump (if needed) + header_up Connection {>Connection} + header_up Upgrade {>Upgrade} + + # Preserve original headers + header_up Host {host} + header_up X-Real-IP {remote} + # X-Forwarded-For and X-Forwarded-Proto are set automatically by Caddy + } +} +