Compare commits

...

2 commits

Author SHA1 Message Date
827cd9975d diun manuell aktivieren 2024-06-26 10:34:44 +00:00
bf87e33277 small improvements: script, nextclout, git 2024-06-26 10:14:14 +00:00
10 changed files with 42 additions and 7 deletions

View file

@ -16,6 +16,7 @@ services:
- "traefik.http.routers.ffs.tls.options=intermediate@file"
- "traefik.http.services.ffs.loadbalancer.server.port=5000"
- "docker.group=firefoxsync"
- "diun.enable=true"
restart: unless-stopped
environment:
- SYNCSERVER_PUBLIC_URL=https://firefoxsync.${DOMAIN}
@ -46,6 +47,7 @@ services:
timeout: 5s
labels:
- "docker.group=firefoxsync"
- "diun.enable=true"
networks:

View file

@ -1,6 +1,6 @@
services:
web:
forgejo:
image: codeberg.org/forgejo/forgejo:${FORGEJO_VERSION}
volumes:
- ${VOLUMES_PATH}/git/forgejo_data:/data
@ -39,6 +39,7 @@ services:
- "traefik.http.middlewares.gitearedir.redirectregex.permanent=true"
- "traefik.http.services.forgejo.loadbalancer.server.port=3000"
- "docker.group=git"
- "diun.enable=true"
db:
@ -58,6 +59,7 @@ services:
timeout: 5s
labels:
- "docker.group=git"
- "diun.enable=true"
networks:

View file

@ -16,6 +16,7 @@ services:
- "traefik.http.services.grafana.loadbalancer.server.port=3000"
- "traefik.docker.network=web"
- "docker.group=monitoring"
- "diun.enable=true"
environment:
- GF_DEFAULT_INSTANCE_NAME=monitoring.${DOMAIN}
- GF_SERVER_ROOT_URL=http://monitoring.${DOMAIN}
@ -34,6 +35,7 @@ services:
depends_on:
- influxdb
- grafanadb
grafanadb:
@ -53,6 +55,7 @@ services:
timeout: 5s
labels:
- "docker.group=monitoring"
- "diun.enable=true"
influxdb:
@ -77,6 +80,7 @@ services:
- "traefik.http.routers.influxdb.middlewares=influxauth"
- "traefik.http.middlewares.influxauth.basicauth.users=${INFLUXDB_HTPASSWD}"
- "docker.group=monitoring"
- "diun.enable=true"
prometheus:
@ -91,6 +95,7 @@ services:
- ${VOLUMES_PATH}/monitoring/prometheus:/prometheus
labels:
- "docker.group=monitoring"
- "diun.enable=true"
# https://github.com/xperimental/nextcloud-exporter
nextcloud-exporter:
@ -103,6 +108,7 @@ services:
- NEXTCLOUD_LISTEN_ADDRESS=:9205
labels:
- "docker.group=monitoring"
- "diun.enable=true"
diun:
@ -119,11 +125,13 @@ services:
- "DIUN_WATCH_SCHEDULE=0 */6 * * *"
- "DIUN_WATCH_JITTER=30s"
- "DIUN_PROVIDERS_DOCKER_ENDPOINT=tcp://docker-socket-proxy:2375"
- "DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true"
- "DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=false"
- "DIUN_NOTIF_NTFY_ENDPOINT=${NTFY_SERVER}"
- "DIUN_NOTIF_NTFY_TOPIC=${NTFY_TOPIC}"
- "DIUN_NOTIF_NTFY_TOKEN=${NTFY_TOKEN}"
restart: always
labels:
- "diun.enable=true"
##################################################################
@ -148,6 +156,7 @@ services:
network_mode: "host"
labels:
- "docker.group=monitoring"
- "diun.enable=true"
depends_on:
- influxdb
@ -162,6 +171,7 @@ services:
- dockersocket
labels:
- "docker.group=monitoring"
- "diun.enable=true"
depends_on:
- influxdb

View file

@ -29,6 +29,7 @@ services:
- "traefik.http.middlewares.nextcloudHeader.headers.customResponseHeaders.X-Robots-Tag=noindex,nofollow"
- "traefik.http.routers.nextcloud.middlewares=nextcloudHeader"
- "docker.group=netxtcloud"
- "diun.enable=true"
app:
@ -105,10 +106,11 @@ services:
- "traefik.http.routers.ncpush.middlewares=ncpushstrip"
- "traefik.http.middlewares.ncpushstrip.stripprefix.prefixes=/push"
- "docker.group=proxy"
- "diun.enable=true"
db:
image: mariadb:10
image: mariadb:${MARIADB_VERSION}
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --skip-innodb-read-only-compressed
volumes:
- ${VOLUMES_PATH}/nextcloud/db:/var/lib/mysql
@ -136,6 +138,7 @@ services:
timeout: 3s
labels:
- "docker.group=netxtcloud"
- "diun.enable=true"
# adminer:
@ -158,6 +161,7 @@ services:
# - "traefik.http.routers.adminer.middlewares=adminerauth"
# - "traefik.http.middlewares.adminerauth.basicauth.users=${HTPASSWD_ADMINER}"
# - "docker.group=netxtcloud"
# - "diun.enable=true"
redis:
@ -175,6 +179,7 @@ services:
timeout: 3s
labels:
- "docker.group=netxtcloud"
- "diun.enable=true"
collabora:
@ -203,6 +208,7 @@ services:
- "traefik.http.routers.collabora.tls.options=intermediate@file"
- "traefik.http.services.collabora.loadbalancer.server.port=9980"
- "docker.group=netxtcloud"
- "diun.enable=true"
drawio-export:
@ -216,6 +222,7 @@ services:
restart: unless-stopped
labels:
- "docker.group=netxtcloud"
- "diun.enable=false" # not enabled becaus of spamming :)
drawio:
@ -245,6 +252,7 @@ services:
- "traefik.http.routers.drawio.tls.options=intermediate@file"
- "traefik.http.services.drawio.loadbalancer.server.port=8080"
- "docker.group=netxtcloud"
- "diun.enable=false" # not enabled becaus of spamming :)
networks:
web:

View file

@ -59,6 +59,7 @@ services:
- "traefik.http.routers.dashboard.middlewares=auth"
- "traefik.http.middlewares.auth.basicauth.users=${HTPASSWD}"
- "docker.group=proxy"
- "diun.enable=true"
docker-socket-proxy:
image: tecnativa/docker-socket-proxy
@ -78,6 +79,9 @@ services:
interval: 10s
timeout: 3s
privileged: true
labels:
- "docker.group=proxy"
- "diun.enable=true"
# whoami:

View file

@ -1,9 +1,11 @@
#/bin/bash/
for dir in ./*/ ; do
( cd "$dir" && echo "[Building $dir]" && docker compose build --pull );
echo "[Building and Pulling $dir]"
cd "$dir";
docker compose pull --ignore-buildable
docker compose build --pull;
cd ..;
echo;
done
for dir in ./*/ ; do
( cd "$dir" && echo "[Pulling $dir]" && docker compose pull --ignore-buildable );
done

View file

@ -32,6 +32,7 @@ services:
- "traefik.http.routers.push.tls.options=intermediate@file"
- "traefik.http.services.push.loadbalancer.server.port=80"
- "docker.group=push"
- "diun.enable=true"
networks:
push:

View file

@ -17,6 +17,7 @@ services:
restart: unless-stopped
labels:
- "docker.group=rustdesk"
- "diun.enable=true"
hbbr:
ports:
@ -31,6 +32,7 @@ services:
restart: unless-stopped
labels:
- "docker.group=rustdesk"
- "diun.enable=true"
networks:
rustdesk:

View file

@ -32,6 +32,7 @@ services:
- "traefik.http.routers.wallabag.tls.certresolver=netcup"
- "traefik.http.routers.wallabag.tls.options=intermediate@file"
- "docker.group=wallabag"
- "diun.enable=true"
depends_on:
- db
- redis
@ -47,6 +48,7 @@ services:
- /var/dockervolumes/wallabag/db:/var/lib/mysql
labels:
- "docker.group=wallabag"
- "diun.enable=true"
redis:
image: redis:7.2.4
@ -59,6 +61,7 @@ services:
timeout: 3s
labels:
- "docker.group=wallabag"
- "diun.enable=true"
networks:

View file

@ -27,6 +27,7 @@ services:
- "traefik.http.routers.www-secure.tls.certresolver=netcup"
- "traefik.http.routers.www-secure.tls.options=intermediate@file"
- "docker.group=www"
- "diun.enable=true"
networks:
web: