Compare commits
8 Commits
8467f69fb8
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c0663dcb99 | |||
| d3594dc2d7 | |||
| 911c9d9bc3 | |||
| 08530aad21 | |||
| 90f98742f9 | |||
| 018aec959c | |||
| 993e17c72c | |||
| 6c3a9eb7df |
13
canrun/kiwix/docker-compose.yml
Normal file
13
canrun/kiwix/docker-compose.yml
Normal 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
20
canrun/kiwix/zimlist.sh
Executable 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
|
||||
8
canrun/ollama-webui/docker-compose
Executable file
8
canrun/ollama-webui/docker-compose
Executable 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 !"
|
||||
28
canrun/ollama-webui/docker-compose.yml
Normal file
28
canrun/ollama-webui/docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
services:
|
||||
ollama:
|
||||
image: ollama/ollama:latest
|
||||
ports:
|
||||
- "192.168.0.131:11434:11434" # Exposing API port
|
||||
environment:
|
||||
- OLLAMA_HOST=0.0.0.0:11434
|
||||
restart: unless-stopped # Auto-restart
|
||||
|
||||
open-webui:
|
||||
image: ghcr.io/open-webui/open-webui:main
|
||||
container_name: open-webui
|
||||
volumes:
|
||||
- open-webui:/app/backend/data
|
||||
depends_on:
|
||||
- ollama
|
||||
ports:
|
||||
- 192.168.0.131:3005:8080
|
||||
environment:
|
||||
- 'OLLAMA_BASE_URL=http://192.168.0.131:11434'
|
||||
- 'WEBUI_SECRET_KEY='
|
||||
#extra_hosts:
|
||||
#- host.docker.internal:host-gateway
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
ollama: {}
|
||||
open-webui: {}
|
||||
15
canrun/signal/docker-compose.yml
Normal file
15
canrun/signal/docker-compose.yml
Normal 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
|
||||
10
clean.sh
10
clean.sh
@@ -1,10 +0,0 @@
|
||||
set -xeu
|
||||
|
||||
docker image prune
|
||||
|
||||
docker container prune
|
||||
|
||||
docker volume prune
|
||||
|
||||
docker builder prune
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
version: "3"
|
||||
|
||||
networks:
|
||||
gitea:
|
||||
external: false
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
version: '3'
|
||||
services:
|
||||
gossa:
|
||||
volumes:
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
version: "3"
|
||||
services:
|
||||
|
||||
invidious:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
version: "3"
|
||||
services:
|
||||
invidious:
|
||||
image: quay.io/invidious/invidious:latest
|
||||
#image: quay.io/invidious/invidious:latest
|
||||
image: dockerreg.mycloudhaus.xyz/invidious/invidious:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "4000:3000"
|
||||
@@ -46,7 +46,8 @@ services:
|
||||
- invidious-db
|
||||
|
||||
companion:
|
||||
image: quay.io/invidious/invidious-companion:latest
|
||||
#image: quay.io/invidious/invidious-companion:latest
|
||||
image: dockerreg.mycloudhaus.xyz/invidious/invidious-companion:latest
|
||||
environment:
|
||||
- SERVER_SECRET_KEY=FcmLBRw5p3SkVjuR
|
||||
restart: unless-stopped
|
||||
|
||||
22
learning_with_texts/Dockerfile
Normal file
22
learning_with_texts/Dockerfile
Normal 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
|
||||
30
learning_with_texts/docker-compose.yml
Normal file
30
learning_with_texts/docker-compose.yml
Normal 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: {}
|
||||
5
libretranslate/correct_ownership.sh
Executable file
5
libretranslate/correct_ownership.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
sudo chown -R 1000:1000 ./libretranslate_models
|
||||
chmod -R u+rwX ./libretranslate_models
|
||||
34
libretranslate/docker-compose.yml
Normal file
34
libretranslate/docker-compose.yml
Normal 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:
|
||||
12
portainer-agent/docker-compose.yml
Normal file
12
portainer-agent/docker-compose.yml
Normal 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
|
||||
@@ -2,7 +2,9 @@ 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/*
|
||||
|
||||
@@ -6,9 +6,11 @@ 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/*
|
||||
|
||||
Reference in New Issue
Block a user