Compare commits

...

19 Commits

Author SHA1 Message Date
c0663dcb99 Modified quay.io URI for Invidious to VPS-hosted 2026-02-21 13:55:01 +02:00
d3594dc2d7 Added learning with texts on port 8889 2026-02-19 21:56:37 +02:00
911c9d9bc3 Added libretranslate + wonsership script 2026-01-31 13:12:07 +02:00
08530aad21 Cleaned compose files from outdated version attribute + corrected update script's check name 2026-01-30 10:33:02 +02:00
90f98742f9 Kiwix back and running with easy .zim management 2026-01-25 15:33:28 +02:00
018aec959c Added portainer agent to connect with cloudhaus 2026-01-25 14:47:52 +02:00
993e17c72c Moved some able-to-run compose in canrun/ + removed clean.sh since made useless by docker system prune -a 2026-01-25 14:33:48 +02:00
6c3a9eb7df Added check if docker-compose.yml exists before running scripts = it does not block on non-docker folders 2026-01-25 14:25:57 +02:00
8467f69fb8 Added Gitea 2026-01-24 20:15:33 +02:00
281f6eaf5b Changed from gossa to a better solution + added invidious clean + update-all-docker properly scripted 2026-01-20 21:18:09 +02:00
e971676900 Added Gossa for FTP+M3U music access 2026-01-20 11:33:19 +02:00
bfd7d0ca9e Added .YAML git visibility 2026-01-14 22:42:33 +02:00
b53e2015a2 cleaned a bit the git repo 2026-01-10 18:09:06 +02:00
9ddc385c98 added README 2026-01-10 18:03:36 +02:00
bigboxuser
b3babb7ebb Initial commit - running in parallel with /var/azuracast/docker-compose.yml and its script 2026-01-10 18:00:32 +02:00
bigboxuser
2493967475 Added docker cleaning script 2025-10-25 13:53:02 +03:00
bigboxuser
82a84240eb Sm shit changed
- new config on dozzle, gitea, invidious, ollama
- gossa file server
- scripts to poweron/update all dockers
2025-10-25 10:40:29 +03:00
bigboxuser
4b169be4ff Customize Invidious a bit 2025-08-31 15:05:06 +03:00
bigboxuser
88b4f8434f Added Invidious - no ffmpeg 2025-08-31 14:37:10 +03:00
27 changed files with 429 additions and 56 deletions

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
*.yml linguist-language=YAML
*.yaml linguist-language=YAML

12
.gitignore vendored Normal file
View File

@@ -0,0 +1,12 @@
.not-running
freshrss/config
gitea/gitea
speedtest-tracker/config
speedtest-tracker/.config
syncthing/data1
syncthing/data2
syncthing/syncthing
invidious/config
invidious/docker
gossa/sharefolder
karakeep/login

0
README.md Normal file
View File

View File

@@ -0,0 +1,13 @@
services:
kiwix-serve:
ports:
- 8008:8080
image: ghcr.io/kiwix/kiwix-serve:latest
# uncomment next 4 lines to use it with local zim file in /tmp/zim
volumes:
- ./zim:/data
command:
- '*.zim'
# uncomment next 2 lines to use it with remote zim file
# environment:
# - 'DOWNLOAD=https://download.kiwix.org/zim/wikipedia_bm_all.zim'

20
canrun/kiwix/zimlist.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Find all .zim files in current directory and format them as an array
zim_files=()
while IFS= read -r -d $'\0' file; do
zim_files+=("\"$(basename "$file")\"")
done < <(find . -maxdepth 1 -type f -name "*.zim" -print0)
# Format the output
if [ ${#zim_files[@]} -gt 0 ]; then
printf "[\n"
printf " %s" "${zim_files[0]}"
for ((i=1; i<${#zim_files[@]}; i++)); do
printf ",\n %s" "${zim_files[$i]}"
done
printf "\n]\n"
else
echo "No .zim files found in current directory"
exit 1
fi

View File

@@ -0,0 +1,8 @@
#!/bin/bash
docker-compose up -d
models=("devstral-small-2:cloud" "gemini-3-flash-preview:cloud" "nomic-embed-text" "ministral-3:3b" "qwen3:0.6b" "gemma3:270m" "gemma3:1b" "hf.co/mradermacher/DeepSeek-R1-Distill-Qwen-1.5B-Fully-Uncensored-i1-GGUF:Q4_K_S")
for model in "${models[@]}"; do
docker exec $(docker ps | grep ollama | awk '{print $1}') bash -c "ollama pull $model"
done
echo ""
echo "---OLLAMA INIT DONE !"

View File

@@ -15,7 +15,7 @@ services:
depends_on: depends_on:
- ollama - ollama
ports: ports:
- 192.168.0.131:3001:8080 - 192.168.0.131:3005:8080
environment: environment:
- 'OLLAMA_BASE_URL=http://192.168.0.131:11434' - 'OLLAMA_BASE_URL=http://192.168.0.131:11434'
- 'WEBUI_SECRET_KEY=' - 'WEBUI_SECRET_KEY='

View File

@@ -0,0 +1,15 @@
services:
signal:
image: lscr.io/linuxserver/signal:latest
container_name: signal
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Bucharest
volumes:
- ./config:/config
ports:
- 8000:3000
- 8001:3001
shm_size: "1gb"
restart: unless-stopped

View File

@@ -1,17 +0,0 @@
# Run with docker compose up -d
services:
dozzle:
image: amir20/dozzle:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 192.168.0.131:8009:8080
environment:
# Uncomment to enable container actions (stop, start, restart). See https://dozzle.dev/guide/actions
# - DOZZLE_ENABLE_ACTIONS=true
#
# Uncomment to allow access to container shells. See https://dozzle.dev/guide/shell
- DOZZLE_ENABLE_SHELL=true
#
# Uncomment to enable authentication. See https://dozzle.dev/guide/authentication
# - DOZZLE_AUTH_PROVIDER=simple

View File

@@ -1,14 +0,0 @@
services:
freshrss:
image: lscr.io/linuxserver/freshrss:latest
container_name: freshrss
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Bucharest
- HTTP_PROXY=127.0.0.1:9050
volumes:
- /home/bigboxuser/docker/freshrss/config:/config
ports:
- 192.168.0.131:8011:80
restart: unless-stopped

View File

@@ -1,12 +1,10 @@
version: "3"
networks: networks:
gitea: gitea:
external: false external: false
services: services:
server: server:
image: docker.gitea.com/gitea:nightly image: docker.gitea.com/gitea:1.25.4
container_name: gitea container_name: gitea
environment: environment:
- USER_UID=1000 - USER_UID=1000
@@ -19,5 +17,5 @@ services:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
- "3000:3000" - "3002:3000"
- "222:22" - "222:22"

7
gossa/docker-compose.yml Normal file
View File

@@ -0,0 +1,7 @@
services:
gossa:
volumes:
- ./sharefolder:/shared
ports:
- 9000:8001
image: pldubouilh/gossa

View File

@@ -0,0 +1,9 @@
name: filebrowser_playlists_web_sharing
services:
filebrowser:
ports:
- 4444:80
volumes:
- /var/lib/jellyfin/media/:/srv
image: filebrowser/filebrowser
command: --noauth

View File

@@ -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"

87
invidious/clean.yml Normal file
View File

@@ -0,0 +1,87 @@
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:

View File

@@ -0,0 +1,97 @@
services:
invidious:
#image: quay.io/invidious/invidious:latest
image: dockerreg.mycloudhaus.xyz/invidious/invidious:latest
restart: unless-stopped
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
#signature_server: inv_sig_helper:12999
visitor_data: CgtYSm5kUWRVZVE1ZyiI19DFBjInCgJSTxIhEh0SGwsMDg8QERITFBUWFxgZGhscHR4fICEiIyQlJiBF
po_token: MpgBecKBkgtBf495_hSk7H5v2KKh-AqptAyHbebX8yIGmiAdCdWMqjxK-5Tj_M_N_ATC0_338CYGDbdFPWV10VlDLhX5K2rgzdva9hD4AMVfcSBZalgO8Wmgly5ynp2tTwll3kgbRJXpz1nJNc-mrUnd0qIKsqigJvJet1RxUzWNc0cVCnRdhhplKd8ms7jDuSCnHaWglT3M6d0=
quality: dash
quality_dash: auto
local: true
invidious_companion:
- private_url: "http://companion:8282/companion"
#- public_url: "http://localhost:8282"
invidious_companion_key: "FcmLBRw5p3SkVjuR"
# external_port:
# domain:
# https_only: false
# statistics_enabled: false
hmac_key: "4xEaLg0fzfvolth1Tq+wJstoZuF3mkURi5PmgzPeqlo="
use_innertube_for_captions: true
healthcheck:
test: wget -nv --tries=1 --spider http://127.0.0.1:4000/api/v1/trending || 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
image: dockerreg.mycloudhaus.xyz/invidious/invidious-companion:latest
environment:
- SERVER_SECRET_KEY=FcmLBRw5p3SkVjuR
restart: unless-stopped
#ports:
#- "127.0.0.1:8282:8282"
logging:
options:
max-size: "1G"
max-file: "4"
cap_drop:
- ALL
read_only: true
volumes:
- companioncache:/var/tmp/youtubei.js:rw
security_opt:
- no-new-privileges:true
# inv_sig_helper:
# image: quay.io/invidious/inv-sig-helper:latest
# init: true
# command: ["--tcp", "0.0.0.0:12999"]
# environment:
# - RUST_LOG=info
# restart: unless-stopped
# cap_drop:
# - ALL
# read_only: true
# 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:

View File

@@ -0,0 +1,22 @@
FROM php:7.4-apache
RUN apt update; \
apt upgrade; \
apt-get install -y default-mysql-client;
RUN docker-php-ext-install mysqli
COPY ./lwt_html /var/www/html
## COPY ./php.ini /usr/local/etc/php
EXPOSE 80:80
# FROM php:5.4-apache
# # Install all the packages that we'll need.
# RUN apt-get update && \
# apt-get install -y php5-mysqlnd git zlib1g-dev imagemagick libjpeg-dev libpng-dev \
# mysql-client && \
# docker-php-ext-install zip mysql mysqli gd
# COPY ./lwt_html /var/www/html
# EXPOSE 80:80

View File

@@ -0,0 +1,30 @@
# -*- mode: yaml, yaml-indent-offset: 2 -*-
# docker-compose up pool
version: '3.3'
services:
lwt:
build: "."
depends_on:
- db
links:
- "db"
volumes:
- "./lwt_html:/var/www/html"
ports:
- "0.0.0.0:8889:80"
restart: always
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_DATABASE: "lwt"
MYSQL_ROOT_PASSWORD: "root"
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
volumes:
db_data: {}

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
sudo chown -R 1000:1000 ./libretranslate_models
chmod -R u+rwX ./libretranslate_models

View File

@@ -0,0 +1,34 @@
services:
libretranslate:
container_name: libretranslate
image: libretranslate/libretranslate:latest
ports:
- "5555:5000"
restart: unless-stopped
user: "1000:1000"
healthcheck:
test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']
interval: 10s
timeout: 4s
retries: 4
start_period: 5s
## Uncomment this for logging in docker compose logs
tty: true
## Uncomment above command and define your args if necessary
## Refer to the documentation for more information: https://docs.libretranslate.com/guides/installation/#arguments
# command: --ssl --req-limit 100 --char-limit 500
## Uncomment this section and the libretranslate_api_keys volume if you want to backup your API keys
environment:
# - LT_API_KEYS=true
# - LT_API_KEYS_DB_PATH=/app/db/api_keys.db # Same result as `db/api_keys.db` or `./db/api_keys.db`
## Uncomment these vars and libretranslate_models volume to optimize loading time.
- LT_UPDATE_MODELS=true
- LT_LOAD_ONLY=en,fr,ru,es,ro,de,ja,zh,pt,it,ko
volumes:
# - ./libretranslate_api_keys:/app/db
# Keep the models in a docker volume, to avoid re-downloading on startup
- ./libretranslate_models:/home/libretranslate/.local:rw
# volumes:
# libretranslate_api_keys:
# libretranslate_models:

View File

@@ -1,12 +0,0 @@
version: '3.8'
services:
netdata:
image: netdata/netdata
container_name: netdata
ports:
- "192.168.0.131:19999:19999"
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: always

Binary file not shown.

View File

@@ -1,8 +0,0 @@
#!/bin/bash
docker-compose up -d
models=("smollm2:135m" "all-minilm:22m" "nomic-embed-text" "qwen2.5:0.5b" "qwen3:0.6b" "gemma3:1b" "hf.co/mradermacher/DeepSeek-R1-Distill-Qwen-1.5B-Fully-Uncensored-i1-GGUF:Q4_K_S")
for model in "${models[@]}"; do
docker exec $(docker ps | grep ollama | awk '{print $1}') bash -c "ollama pull $model"
done
echo ""
echo "---OLLAMA INIT DONE !"

View File

@@ -0,0 +1,12 @@
name: portainer-agent
services:
agent:
ports:
- 9001:9001
container_name: portainer_agent
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
- /:/host
image: portainer/agent:2.33.6

14
power-all-docker.sh Executable file
View File

@@ -0,0 +1,14 @@
set -xeu
for dir in */; do
cd $dir
if [ -f ./docker-compose.yaml ]; then
docker-compose up -d
fi
#for dir2 in */; do
# cd $dir2
# ls -d $PWD/*
# cd ..
#done
cd ..
done

View File

@@ -0,0 +1,6 @@
{
"Settings": {
"LicenseAccepted": "604ec27f828456331ebf441826292c49276bd3c1bee1a2f65a6452f505c4061c",
"GDPRTimeStamp": 1746646475
}
}

27
update-all-docker.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/env bash
set -xeu
cd /home/bigboxuser/docker
for dir in */; do
cd $dir
if [ -f ./docker-compose.yml ]; then
docker compose down
docker compose pull
docker compose up -d
fi
#for dir2 in */; do
# cd $dir2
# ls -d $PWD/*
# cd ..
#done
cd ..
done
cd /var/azuracast/
./docker.sh down
./docker.sh update-self
./docker.sh update
./docker.sh up
cd /home/bigboxuser/docker