From d49485bbefb5b43f25b5a60ec33b8392028655e4 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Wed, 1 Oct 2025 06:36:53 -0400 Subject: [PATCH] Replacing Invidious Sig-Helper with Companion; formatting fixes. --- docker-compose.yml | 47 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 38 insertions(+), 9 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f57f0181..7710e61a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2238,11 +2238,12 @@ services: swag_proto: http swag_port: 2283 swag_url: pics.${MY_TLD} - swag_server_custom_directive: location /share { - proxy_pass http://immich-public-proxy:3000; + swag_server_custom_directive: | + location /share { + proxy_pass http://immich-public-proxy:3000; } location /tools { - proxy_pass http://immich-power-tools:3000; + proxy_pass http://immich-power-tools:3000; } swag.uptime-kuma.enabled: true swag.uptime-kuma.monitor.parent: Rinoa @@ -2413,6 +2414,10 @@ services: swag_proto: http swag_port: 3000 swag_url: invid.${MY_TLD} + swag_server_custom_directive: | + location /companion { + proxy_pass http://invidious-companion:8282 + } swag.uptime-kuma.enabled: true swag.uptime-kuma.monitor.parent: Rinoa swag.uptime-kuma.name: Invidious @@ -2433,6 +2438,26 @@ services: restart: unless-stopped volumes: - ${DOCKER_VOLUME_CONFIG}/invidious/config.yml:/config.yml + invidious-companion: + cap_drop: + - ALL + container_name: invidious-companion + environment: + SERVER_SECRET_KEY: ${INVID_COMPANION_KEY} + image: quay.io/invidious/invidious-companion:latest + logging: + options: + max-size: "1G" + max-file: "4" + ports: + - 16290:8282 + profiles: ["rinoa-apps"] + read_only: true + restart: unless-stopped + security_opt: + - no-new-privileges:true + volumes: + - invidious-companion-cache:/var/tmp/youtubei.js:rw invidious-sig-helper: cap_drop: - ALL @@ -3809,9 +3834,9 @@ services: swag_proto: http swag_port: 5173 swag_url: scrape.${MY_TLD} - swag_server_custom_directive: + swag_server_custom_directive: | location ~ ^/(auth|storage|record|workflow|robot|proxy|api-docs|api|webhook|socket.io)(/|$) { - proxy_pass http://maxun-backend:8080; + proxy_pass http://maxun-backend:8080; } swag.uptime-kuma.enabled: true swag.uptime-kuma.monitor.parent: Rinoa @@ -4912,8 +4937,9 @@ services: swag_proto: http swag_port: 3000 swag_url: plants.${MY_TLD} - swag_server_custom_directive: location /api { - proxy_pass http://plant-it:8080; + swag_server_custom_directive: | + location /api { + proxy_pass http://plant-it:8080; } swag.uptime-kuma.enabled: true swag.uptime-kuma.monitor.parent: Rinoa @@ -5249,8 +5275,9 @@ services: homepage.widget.user: admin homepage.widget.password: "${DELUGEVPN_PASSWORD}" swag: enable - swag_server_custom_directive: location /mgmt { - proxy_pass http://qbit-manage:8080; + swag_server_custom_directive: | + location /mgmt { + proxy_pass http://qbit-manage:8080; } swag_port: 8080 swag_proto: http @@ -7224,6 +7251,8 @@ volumes: name: influxdb2-data influxdb2-config: name: influxdb2-config + invidious-companion-cache: + name: invidious-companion-cache invidious-postgres: name: invidious-postgres invoice-ninja_cache: