2025-03-10 update
This commit is contained in:
parent
b2cf83b2bc
commit
936263f5e1
26 changed files with 186 additions and 117 deletions
|
@ -10,69 +10,17 @@ DATA_PATH=
|
||||||
DD_SITE=
|
DD_SITE=
|
||||||
DD_API_KEY=
|
DD_API_KEY=
|
||||||
|
|
||||||
#MASTODON
|
#smtp
|
||||||
MASTODON_DB_USER=
|
|
||||||
MASTODON_DB_PASS=
|
|
||||||
|
|
||||||
MASTODON_DOMAIN=
|
|
||||||
MASTODON_WEB_DOMAIN=
|
|
||||||
|
|
||||||
MASTODON_SECRET_KEY_BASE=
|
|
||||||
MASTODON_OTP_SECRET=
|
|
||||||
|
|
||||||
MASTODON_VAPID_PRIVATE_KEY=
|
|
||||||
MASTODON_VAPID_PUBLIC_KEY=
|
|
||||||
|
|
||||||
SMTP_SERVER=
|
SMTP_SERVER=
|
||||||
SMTP_PORT=
|
SMTP_PORT=
|
||||||
SMTP_USER=
|
SMTP_USER=
|
||||||
SMTP_PASS=
|
SMTP_PASS=
|
||||||
SMTP_FROM=
|
SMTP_FROM=
|
||||||
|
|
||||||
|
#ldap
|
||||||
LDAP_SERVER=
|
LDAP_SERVER=
|
||||||
LDAP_PORT=
|
LDAP_PORT=
|
||||||
LDAP_BASE=
|
LDAP_BASE=
|
||||||
LDAP_FILTER=
|
LDAP_FILTER=
|
||||||
LDAP_BIND_DN=
|
LDAP_BIND_DN=
|
||||||
LDAP_BIND_PASS=
|
LDAP_BIND_PASS=
|
||||||
|
|
||||||
#SYNAPSE
|
|
||||||
MATRIX_SERVER=
|
|
||||||
|
|
||||||
SYNAPSE_DB_USER=
|
|
||||||
SYNAPSE_DB_PASS=
|
|
||||||
|
|
||||||
#GITEA
|
|
||||||
GITEA_URL=
|
|
||||||
|
|
||||||
GITEA_DB_ROOT_PASS=
|
|
||||||
GITEA_DB_NAME=
|
|
||||||
GITEA_DB_USER=
|
|
||||||
GITEA_DB_PASS=
|
|
||||||
|
|
||||||
GITEA_RUNNER_TOKEN=
|
|
||||||
GITEA_RUNNER_NAME=
|
|
||||||
|
|
||||||
#Rebble
|
|
||||||
REBBLE_SPEECH_KEY=
|
|
||||||
REBBLE_WEATHER_KEY=
|
|
||||||
|
|
||||||
#PORTS
|
|
||||||
MASTODON_HTTP_PORT=
|
|
||||||
MASTODON_HTTPS_PORT=
|
|
||||||
|
|
||||||
SYNAPSE_DB_PORT=
|
|
||||||
MATRIX_PORT=
|
|
||||||
RIOT_PORT=
|
|
||||||
|
|
||||||
EMUJS_BACKEND_PORT=
|
|
||||||
EMUJS_PORT=
|
|
||||||
|
|
||||||
GL_HTTP_PORT=
|
|
||||||
GL_SSH_PORT=
|
|
||||||
|
|
||||||
REBBLE_ASR_PORT=
|
|
||||||
REBBLE_WEATHER_PORT=
|
|
||||||
|
|
||||||
GITEA_HTTP_PORT=
|
|
||||||
GITEA_SSH_PORT=
|
|
||||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1,3 @@
|
||||||
.env
|
.env
|
||||||
|
**/.env
|
||||||
|
**/*.env
|
||||||
|
|
2
debian/debian.env_template
vendored
Normal file
2
debian/debian.env_template
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#ports
|
||||||
|
APTLY_PORT=
|
2
debian.yml → debian/docker-compose.yml
vendored
2
debian.yml → debian/docker-compose.yml
vendored
|
@ -6,7 +6,7 @@ services:
|
||||||
image: urpylka/aptly:latest
|
image: urpylka/aptly:latest
|
||||||
container_name: aptly
|
container_name: aptly
|
||||||
ports:
|
ports:
|
||||||
- "89:80"
|
- "${APTLY_PORT}:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_PATH}/aptly/data:/opt/aptly
|
- ${DATA_PATH}/aptly/data:/opt/aptly
|
||||||
logging:
|
logging:
|
3
emulators/emulators.env_template
Normal file
3
emulators/emulators.env_template
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#ports
|
||||||
|
EMUJS_BACKEND_PORT=
|
||||||
|
EMUJS_PORT=
|
|
@ -27,6 +27,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "${GITEA_HTTP_PORT}:3000"
|
- "${GITEA_HTTP_PORT}:3000"
|
||||||
- "${GITEA_SSH_PORT}:22"
|
- "${GITEA_SSH_PORT}:22"
|
||||||
|
- "${GITEA_SSH_LOCAL_PORT}:22"
|
||||||
depends_on:
|
depends_on:
|
||||||
- gitea-db
|
- gitea-db
|
||||||
|
|
12
gitea/gitea.env_template
Normal file
12
gitea/gitea.env_template
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#gitea
|
||||||
|
GITEA_URL=
|
||||||
|
GITEA_DB_ROOT_PASS=
|
||||||
|
GITEA_DB_NAME=
|
||||||
|
GITEA_DB_USER=
|
||||||
|
GITEA_DB_PASS=
|
||||||
|
GITEA_RUNNER_TOKEN=
|
||||||
|
GITEA_RUNNER_NAME=
|
||||||
|
#ports
|
||||||
|
GITEA_HTTP_PORT=
|
||||||
|
GITEA_SSH_PORT=
|
||||||
|
GITEA_SSH_LOCAL_PORT=
|
22
libretranslate/docker-compose.yml
Normal file
22
libretranslate/docker-compose.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
libretranslate_api_keys:
|
||||||
|
libretranslate_models:
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
libretranslate:
|
||||||
|
image: libretranslate/libretranslate
|
||||||
|
container_name: libretranslate
|
||||||
|
volumes:
|
||||||
|
- libretranslate_api_keys:/app/db
|
||||||
|
- libretranslate_models:/home/libretranslate/.local:rw
|
||||||
|
ports:
|
||||||
|
- "${LIBRETRANSLATE_PORT}:5000"
|
||||||
|
environment:
|
||||||
|
- LT_API_KEYS=true
|
||||||
|
- LT_REQ_LIMIT=5
|
||||||
|
- LT_API_KEYS_DB_PATH=/app/db/api
|
||||||
|
- LT_UPDATE_MODELS=true
|
||||||
|
restart: unless-stopped
|
2
libretranslate/libretranslate.env_template
Normal file
2
libretranslate/libretranslate.env_template
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#ports
|
||||||
|
LIBRETRANSLATE_PORT=
|
|
@ -60,6 +60,9 @@ services:
|
||||||
- OTP_SECRET=${MASTODON_OTP_SECRET}
|
- OTP_SECRET=${MASTODON_OTP_SECRET}
|
||||||
- VAPID_PRIVATE_KEY=${MASTODON_VAPID_PRIVATE_KEY}
|
- VAPID_PRIVATE_KEY=${MASTODON_VAPID_PRIVATE_KEY}
|
||||||
- VAPID_PUBLIC_KEY=${MASTODON_VAPID_PUBLIC_KEY}
|
- VAPID_PUBLIC_KEY=${MASTODON_VAPID_PUBLIC_KEY}
|
||||||
|
- ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=${MASTODON_REC_DET_KEY}
|
||||||
|
- ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=${MASTODON_REC_DER_SALT}
|
||||||
|
- ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=${MASTODON_REC_PRIM_KEY}
|
||||||
- SMTP_SERVER=${SMTP_SERVER}
|
- SMTP_SERVER=${SMTP_SERVER}
|
||||||
- SMTP_PORT=${SMTP_PORT}
|
- SMTP_PORT=${SMTP_PORT}
|
||||||
- SMTP_LOGIN=${SMTP_USER}
|
- SMTP_LOGIN=${SMTP_USER}
|
15
mastodon/mastodon.env_template
Normal file
15
mastodon/mastodon.env_template
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#mastodon
|
||||||
|
MASTODON_DB_USER=
|
||||||
|
MASTODON_DB_PASS=
|
||||||
|
MASTODON_DOMAIN=
|
||||||
|
MASTODON_WEB_DOMAIN=
|
||||||
|
MASTODON_SECRET_KEY_BASE=
|
||||||
|
MASTODON_OTP_SECRET=
|
||||||
|
MASTODON_VAPID_PRIVATE_KEY=
|
||||||
|
MASTODON_VAPID_PUBLIC_KEY=
|
||||||
|
MASTODON_REC_DET_KEY=
|
||||||
|
MASTODON_REC_DER_SALT=
|
||||||
|
MASTODON_REC_PRIM_KEY=
|
||||||
|
#ports
|
||||||
|
MASTODON_HTTP_PORT=
|
||||||
|
MASTODON_HTTPS_PORT=
|
8
matrix/matrix.env_template
Normal file
8
matrix/matrix.env_template
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#synapse
|
||||||
|
MATRIX_SERVER=
|
||||||
|
SYNAPSE_DB_USER=
|
||||||
|
SYNAPSE_DB_PASS=
|
||||||
|
#ports
|
||||||
|
SYNAPSE_DB_PORT=
|
||||||
|
MATRIX_PORT=
|
||||||
|
RIOT_PORT=
|
|
@ -1,13 +0,0 @@
|
||||||
version: "3.8"
|
|
||||||
|
|
||||||
services:
|
|
||||||
|
|
||||||
portainer_agent: #Portainer is a web UI for managing your docker containers. This container is just the agent which you need to pair with the portainer-ce host container https://www.portainer.io/
|
|
||||||
image: portainer/agent:2.19.3
|
|
||||||
container_name: portainer_agent
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
|
||||||
ports:
|
|
||||||
- "9001:9001"
|
|
||||||
restart: always
|
|
|
@ -11,13 +11,13 @@ services:
|
||||||
image: nextcloud/all-in-one:latest
|
image: nextcloud/all-in-one:latest
|
||||||
container_name: nextcloud-aio-mastercontainer
|
container_name: nextcloud-aio-mastercontainer
|
||||||
environment:
|
environment:
|
||||||
- APACHE_PORT=11000
|
- APACHE_PORT=${NC_AIO_APACHE_PORT}
|
||||||
- APACHE_IP_BINDING=0.0.0.0
|
- APACHE_IP_BINDING=0.0.0.0
|
||||||
- NEXTCLOUD_DATADIR=${DATA_PATH}/nextcloud-aio/nextcloud
|
- NEXTCLOUD_DATADIR=${DATA_PATH}/nextcloud-aio/nextcloud
|
||||||
- NEXTCLOUD_MOUNT=/mnt/2TB/local/
|
- NEXTCLOUD_MOUNT=${DATA_PATH}/local/
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config:rw
|
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config:rw
|
||||||
- '/var/run/docker.sock:/var/run/docker.sock:ro'
|
- '/var/run/docker.sock:/var/run/docker.sock:ro'
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- ${NC_AIO_PORT}:8080
|
||||||
restart: always
|
restart: always
|
3
nextcloud/nextcloud.env_template
Normal file
3
nextcloud/nextcloud.env_template
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#ports
|
||||||
|
NC_AIO_PORT=
|
||||||
|
NC_AIO_APACHE_PORT=
|
56
pixelfed/docker-compose.yml
Normal file
56
pixelfed/docker-compose.yml
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
version: "2"
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
pixelfed-app:
|
||||||
|
image: zknt/pixelfed
|
||||||
|
container_name: pixelfed-app
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- ${DATA_PATH}/pixelfed/env
|
||||||
|
volumes:
|
||||||
|
- "${DATA_PATH}/pixelfed/storage:/var/www/storage"
|
||||||
|
- "${DATA_PATH}/pixelfed/env:/var/www/.env"
|
||||||
|
ports:
|
||||||
|
- ${PIXELFED_PORT}:80
|
||||||
|
depends_on:
|
||||||
|
- pixelfed-db
|
||||||
|
- pixelfed-redis
|
||||||
|
|
||||||
|
pixelfed-worker:
|
||||||
|
image: zknt/pixelfed
|
||||||
|
container_name: pixelfed-worker
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- ${DATA_PATH}/pixelfed/env
|
||||||
|
volumes:
|
||||||
|
- "${DATA_PATH}/pixelfed/storage:/var/www/storage"
|
||||||
|
- "${DATA_PATH}/pixelfed/env:/var/www/.env"
|
||||||
|
entrypoint: /worker-entrypoint.sh
|
||||||
|
depends_on:
|
||||||
|
- pixelfed-db
|
||||||
|
- pixelfed-redis
|
||||||
|
- pixelfed-app
|
||||||
|
healthcheck:
|
||||||
|
test: php artisan horizon:status | grep running
|
||||||
|
interval: 60s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 1
|
||||||
|
|
||||||
|
pixelfed-db:
|
||||||
|
image: zknt/mariadb
|
||||||
|
container_name: pixelfed-db
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- ${DATA_PATH}/pixelfed/env
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=${PIXELFED_MYSQL_PASS}
|
||||||
|
volumes:
|
||||||
|
- "${DATA_PATH}/pixelfed/db:/var/lib/mysql"
|
||||||
|
|
||||||
|
pixelfed-redis:
|
||||||
|
image: zknt/redis
|
||||||
|
container_name: pixelfed-redis
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- "${DATA_PATH}/pixelfed/redis:/data"
|
5
pixelfed/pixelfed.env_template
Normal file
5
pixelfed/pixelfed.env_template
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#pixelfed
|
||||||
|
#PIXELFED_MYSQL_PASS=
|
||||||
|
PIXELFED_MYSQL_PASS=
|
||||||
|
#ports
|
||||||
|
PIXELFED_PORT=
|
11
protonmail/docker-compose.yml
Normal file
11
protonmail/docker-compose.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
protonmail-bridge:
|
||||||
|
container_name: protonmail-bridge
|
||||||
|
volumes:
|
||||||
|
- ${DATA_PATH}/protonmail-bridge:/root
|
||||||
|
network_mode: host
|
||||||
|
restart: unless-stopped
|
||||||
|
image: ganeshlab/protonmail-bridge
|
1
protonmail/protonmail.env_template
Normal file
1
protonmail/protonmail.env_template
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
22
rebble.yml
22
rebble.yml
|
@ -1,22 +0,0 @@
|
||||||
version: "3.8"
|
|
||||||
|
|
||||||
services:
|
|
||||||
|
|
||||||
rebble-asr-pogmom:
|
|
||||||
image: rebble-asr-pogmom
|
|
||||||
container_name: rebble-asr-pogmom
|
|
||||||
ports:
|
|
||||||
- "${REBBLE_ASR_PORT}:443"
|
|
||||||
environment:
|
|
||||||
- SPEECH_API_KEY=${REBBLE_SPEECH_KEY}
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
rebble-weather-pogmom:
|
|
||||||
image: rebble-weather-pogmom
|
|
||||||
container_name: rebble-weather-pogmom
|
|
||||||
ports:
|
|
||||||
- "${REBBLE_WEATHER_PORT}:5000"
|
|
||||||
environment:
|
|
||||||
- IBM_API_KEY=${REBBLE_WEATHER_KEY}
|
|
||||||
- FLASK_APP=weather
|
|
||||||
restart: always
|
|
16
startall.sh
16
startall.sh
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
script_root="$( dirname $0 )"
|
|
||||||
|
|
||||||
for y in "${script_root}"/*.yml;do
|
|
||||||
by="$(basename $y)"
|
|
||||||
# sudo docker-compose -f "${y}" -p "${by//.}" down
|
|
||||||
sudo docker-compose -f "${y}" pull
|
|
||||||
sudo docker-compose -f "${y}" -p "${by//.}" up -d
|
|
||||||
done
|
|
||||||
|
|
||||||
for r in "${script_root}/docker_runs/"*.sh;do
|
|
||||||
bash -c "${r}"
|
|
||||||
done
|
|
||||||
|
|
||||||
sudo docker image prune -f
|
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
cp .env .env_template
|
|
||||||
sed -i 's/=.*/=/' .env_template
|
|
||||||
|
|
||||||
git add .
|
|
||||||
git commit -m "New backup `date +'%Y-%m-%d %H:%M:%S'`"
|
|
||||||
git push
|
|
30
webhosting/docker-compose.yml
Normal file
30
webhosting/docker-compose.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
resume-nginx:
|
||||||
|
image: nginx
|
||||||
|
container_name: resume-nginx
|
||||||
|
volumes:
|
||||||
|
- ${DATA_PATH}/webhosting/resume/src:/usr/share/nginx/html
|
||||||
|
ports:
|
||||||
|
- ${RESUME_NGINX_PORT}:80
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
pogmom-suite-nginx:
|
||||||
|
image: nginx
|
||||||
|
container_name: pogmom-suite-nginx
|
||||||
|
volumes:
|
||||||
|
- ${DATA_PATH}/webhosting/pogmom-suite/pogmom-suite:/usr/share/nginx/html
|
||||||
|
ports:
|
||||||
|
- ${POGMOM_SUITE_NGINX_PORT}:80
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
pogmomme-nginx:
|
||||||
|
image: nginx
|
||||||
|
container_name: pogmomme-nginx
|
||||||
|
volumes:
|
||||||
|
- ${DATA_PATH}/webhosting/pogmomme/pogmomme:/usr/share/nginx/html
|
||||||
|
ports:
|
||||||
|
- ${POGMOM_NGINX_PORT}:80
|
||||||
|
restart: unless-stopped
|
4
webhosting/webhosting.env_template
Normal file
4
webhosting/webhosting.env_template
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#ports
|
||||||
|
RESUME_NGINX_PORT=
|
||||||
|
POGMOM_SUITE_NGINX_PORT=
|
||||||
|
POGMOM_NGINX_PORT=
|
Loading…
Add table
Reference in a new issue