From 281f6eaf5b25793a23657536acafe88ce4d217bb Mon Sep 17 00:00:00 2001 From: kenny Date: Tue, 20 Jan 2026 21:18:09 +0200 Subject: [PATCH] Changed from gossa to a better solution + added invidious clean + update-all-docker properly scripted --- gossa_radio_playlists/docker-compose.yml | 15 ++-- invidious/bigbox_debian_interface | 6 ++ invidious/clean.yml | 88 ++++++++++++++++++++++++ update-all-docker.sh | 4 ++ 4 files changed, 106 insertions(+), 7 deletions(-) create mode 100644 invidious/bigbox_debian_interface create mode 100644 invidious/clean.yml diff --git a/gossa_radio_playlists/docker-compose.yml b/gossa_radio_playlists/docker-compose.yml index affd3f9..de7e6bd 100644 --- a/gossa_radio_playlists/docker-compose.yml +++ b/gossa_radio_playlists/docker-compose.yml @@ -1,8 +1,9 @@ -version: '3' +name: filebrowser_playlists_web_sharing services: - gossa: - volumes: - - /var/lib/jellyfin/media/music/fromlists/playlists:/shared - ports: - - 10.0.0.1:4444:8001 - image: pldubouilh/gossa + filebrowser: + ports: + - 4444:80 + volumes: + - /var/lib/jellyfin/media/:/srv + image: filebrowser/filebrowser + command: --noauth diff --git a/invidious/bigbox_debian_interface b/invidious/bigbox_debian_interface new file mode 100644 index 0000000..0eb534a --- /dev/null +++ b/invidious/bigbox_debian_interface @@ -0,0 +1,6 @@ +veth8e1885b@if47 + + +found it with: +docker exec -it invidious-invidious-1 cat /sys/class/net/eth0/iflink +ip a | grep "number" diff --git a/invidious/clean.yml b/invidious/clean.yml new file mode 100644 index 0000000..e25ecbf --- /dev/null +++ b/invidious/clean.yml @@ -0,0 +1,88 @@ +version: "3" +services: + + invidious: + image: quay.io/invidious/invidious:latest + # image: quay.io/invidious/invidious:latest-arm64 # ARM64/AArch64 devices + restart: unless-stopped + # Remove "127.0.0.1:" if used from an external IP + ports: + - "4000:3000" + environment: + # Please read the following file for a comprehensive list of all available + # configuration options and their associated syntax: + # https://github.com/iv-org/invidious/blob/master/config/config.example.yml + INVIDIOUS_CONFIG: | + db: + dbname: invidious + user: kemal + password: kemal + host: invidious-db + port: 5432 + check_tables: true + invidious_companion: + # URL used for the internal communication between invidious and invidious companion + # There is no need to change that except if Invidious companion does not run on the same docker compose file. + - private_url: "http://companion:8282/companion" + # IT is NOT recommended to use the same key as HMAC KEY. Generate a new key! + # Use the key generated in the 2nd step + invidious_companion_key: "CHANGE_ME!!" + # external_port: + # domain: + # https_only: false + # statistics_enabled: false + # Use the key generated in the 2nd step + hmac_key: "CHANGE_ME!!" + healthcheck: + test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/stats || exit 1 + interval: 30s + timeout: 5s + retries: 2 + logging: + options: + max-size: "1G" + max-file: "4" + depends_on: + - invidious-db + + companion: + image: quay.io/invidious/invidious-companion:latest + environment: + # Use the key generated in the 2nd step + - SERVER_SECRET_KEY=CHANGE_ME!!SAME_AS_INVIDIOUS_COMPANION_SECRET_KEY_FROM_INVIDIOUS_CONFIG + restart: unless-stopped + # Uncomment only if you have configured "public_url" for Invidious companion + # Or if you want to use Invidious companion as an API in your program. + # Remove "127.0.0.1:" if used from an external IP + #ports: + # - "127.0.0.1:8282:8282" + logging: + options: + max-size: "1G" + max-file: "4" + cap_drop: + - ALL + read_only: true + # cache for youtube library + volumes: + - companioncache:/var/tmp/youtubei.js:rw + security_opt: + - no-new-privileges:true + + invidious-db: + image: docker.io/library/postgres:14 + restart: unless-stopped + volumes: + - postgresdata:/var/lib/postgresql/data + - ./config/sql:/config/sql + - ./docker/init-invidious-db.sh:/docker-entrypoint-initdb.d/init-invidious-db.sh + environment: + POSTGRES_DB: invidious + POSTGRES_USER: kemal + POSTGRES_PASSWORD: kemal + healthcheck: + test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"] + +volumes: + postgresdata: + companioncache: diff --git a/update-all-docker.sh b/update-all-docker.sh index ceaaa03..50c99c1 100755 --- a/update-all-docker.sh +++ b/update-all-docker.sh @@ -1,5 +1,9 @@ +#!/bin/env bash + set -xeu +cd /home/bigboxuser/docker + for dir in */; do cd $dir docker compose down