update .gitignore and add diun service labels in multiple docker-compose files

This commit is contained in:
Peter Wood
2025-02-13 18:10:36 +00:00
parent 8b4b5aa78a
commit 44ff38a765
21 changed files with 70 additions and 43 deletions

3
.gitignore vendored
View File

@@ -1,10 +1,9 @@
cloudflare/tailscale/
nginxproxymanager/*/
media/audiobookshelf/
ntfy/*/
vaultwarden/*/
pinchflat/
pinchflat/config/
homepage/config/logs/
speedtest/config/
caddy/ts-caddy/

View File

@@ -11,6 +11,8 @@ services:
- config:/opt/adguardhome/conf # app configuration
- work:/opt/adguardhome/work # app working directory
restart: always
labels:
- diun.enable=true
volumes:
config:
driver: local

View File

@@ -13,6 +13,8 @@ services:
- net_admin
- sys_module
restart: unless-stopped
labels:
- diun.enable=true
caddy:
image: caddy/caddy:latest
network_mode: service:ts-caddy

View File

@@ -6,6 +6,8 @@ services:
command: tunnel --no-autoupdate run --token ${CLOUDFLARE_TUNNEL_TOKEN}
depends_on:
- tailscale
labels:
- diun.enable=true
tailscale:
container_name: tailscale
image: tailscale/tailscale:stable
@@ -22,4 +24,6 @@ services:
command: tailscaled
privileged: true
restart: unless-stopped
labels:
- diun.enable=true
networks: {}

View File

@@ -13,6 +13,8 @@ services:
networks:
- postgres
restart: unless-stopped
labels:
- diun.enable=true
pgadmin:
container_name: pgadmin_container
@@ -28,6 +30,8 @@ services:
networks:
- postgres
restart: unless-stopped
labels:
- diun.enable=true
networks:
postgres:

View File

@@ -1,19 +1,22 @@
services:
diun:
image: crazymax/diun:latest
command: serve
hostname: diun
volumes:
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TZ=America/New_York
- DIUN_WATCH_WORKERS=20
- DIUN_WATCH_SCHEDULE=0 */6 * * *
- DIUN_WATCH_SCHEDULE=0 */2 * * *
- DIUN_WATCH_JITTER=30s
- DIUN_DEFAULTS_NOTIFYON=new,update
- DIUN_PROVIDERS_DOCKER=true
- DIUN_NOTIF_TELEGRAM_TOKEN=${TELEGRAM_TOKEN}
- DIUN_NOTIF_TELEGRAM_CHATIDS=${TELEGRAM_CHAT_ID}
- LOG_LEVEL=debug
- LOG_JSON=false
labels:
- diun.enable=true
restart: always
restart: unless-stopped

View File

@@ -9,6 +9,5 @@ services:
# DOZZLE_REMOTE_HOST: tcp://ts-vperanda:2375|vperanda,tcp://ts-svr-office:2375
DOZZLE_HOSTNAME: ${HOSTNAME}
restart: unless-stopped
networks:
cloudflare_default:
external: true
labels:
- diun.enable=true

View File

@@ -5,6 +5,8 @@ services:
image: ghcr.io/tailscale/golink:main
volumes:
- golinks_data:/home/nonroot
labels:
- diun.enable=true
volumes:
golinks_data:

View File

@@ -14,9 +14,13 @@ services:
NEXTAUTH_URL: ${NEXTAUTH_URL}
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY}
DATA_DIR: /data
labels:
- diun.enable=true
chrome:
image: gcr.io/zenika-hub/alpine-chrome:123
restart: unless-stopped
labels:
- diun.enable=true
command:
- --no-sandbox
- --disable-gpu
@@ -31,6 +35,8 @@ services:
MEILI_NO_ANALYTICS: true
volumes:
- meilisearch:/meili_data
labels:
- diun.enable=true
volumes:
meilisearch:

View File

@@ -12,3 +12,5 @@ services:
- ./config:/app/config
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: unless-stopped
labels:
- diun.enable=true

View File

@@ -29,6 +29,8 @@ services:
depends_on:
postgres:
condition: service_healthy
labels:
- diun.enable=true
postgres:
container_name: postgres
image: postgres:15
@@ -45,11 +47,8 @@ services:
interval: 30s
timeout: 20s
retries: 3
labels:
- diun.enable=true
volumes:
mealie-data: null
mealie-pgdata: null
networks:
cloudflare_default:
external: true
x-dockge:
urls: []

View File

@@ -24,6 +24,8 @@ services:
- TZ=America/New_York # Timezone for accurate log times
- SERVER_COUNTRIES=United States
restart: always
labels:
- diun.enable=true
sabnzbd:
image: lscr.io/linuxserver/sabnzbd:latest
container_name: sabnzbd
@@ -39,6 +41,8 @@ services:
# network_mode: "service:gluetun" forces sabnzbd to connect to the internet through the VPN defined in the gluetun container above
network_mode: service:gluetun
restart: always
labels:
- diun.enable=true
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
@@ -55,9 +59,9 @@ services:
- /data/usenet/downloads:/downloads
ports:
- 8989:8989
networks:
- cloudflare_default
restart: always
labels:
- diun.enable=true
radarr:
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
@@ -74,8 +78,6 @@ services:
- /data/usenet/downloads:/downloads
ports:
- 7878:7878
networks:
- cloudflare_default
restart: always
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
@@ -88,9 +90,9 @@ services:
- /docker/config/prowlarr:/config
ports:
- 9696:9696
networks:
- cloudflare_default
restart: always
labels:
- diun.enable=true
tautulli:
image: lscr.io/linuxserver/tautulli:latest
container_name: tautulli
@@ -102,9 +104,9 @@ services:
- tautulli:/config
ports:
- 8181:8181
networks:
- cloudflare_default
restart: always
labels:
- diun.enable=true
audiobookshelf:
image: ghcr.io/advplyr/audiobookshelf:latest
container_name: audiobookshelf
@@ -118,12 +120,10 @@ services:
- ./audiobookshelf/metadata:/metadata
environment:
- TZ=America/New_York
labels:
- diun.enable=true
volumes:
gluetun_data: null
sabnzbd_data: null
tautulli: null
networks:
cloudflare_default:
external: true

View File

@@ -9,7 +9,5 @@ services:
networks:
- cloudflare_default
restart: unless-stopped
networks:
cloudflare_default:
external: true
labels:
- diun.enable=true

View File

@@ -13,4 +13,5 @@ services:
- 7081:8081
volumes:
- /mnt/share/media/metube:/downloads
networks: {}
labels:
- diun.enable=true

View File

@@ -25,13 +25,13 @@ services:
DB_MYSQL_USER: npm
DB_MYSQL_PASSWORD: npm
DB_MYSQL_NAME: npm
networks:
- cloudflare_default
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
depends_on:
- db
labels:
- diun.enable=true
db:
image: jc21/mariadb-aria:latest
restart: unless-stopped
@@ -42,6 +42,5 @@ services:
MYSQL_PASSWORD: npm
volumes:
- ./mysql:/var/lib/mysql
networks:
cloudflare_default:
external: true
labels:
- diun.enable=true

View File

@@ -15,3 +15,5 @@ services:
- 4080:80
- 4443:443
restart: unless-stopped
labels:
- diun.enable=true

View File

@@ -23,4 +23,6 @@ services:
UI_HOMEDESCRIPTION: ""
UI_APPNAMENAVBAR: ""
SYSTEM_MAXFILESIZE: "100"
restart: unless-stopped
restart: unless-stopped
labels:
- diun.enable=true

View File

@@ -8,6 +8,6 @@ services:
- ./config:/config
- /mnt/share/media/youtube:/downloads
image: ghcr.io/kieraneglin/pinchflat:latest
networks:
cloudflare_default:
external: true
restart: unless-stopped
labels:
- diun.enable=true

View File

@@ -18,4 +18,5 @@ services:
volumes:
- ./config:/config
restart: unless-stopped
networks: {}
labels:
- diun.enable=true

View File

@@ -7,8 +7,9 @@ services:
ports:
- 6001:3001
restart: unless-stopped
labels:
- diun.enable=true
volumes:
uptime-kuma:
uptime-kuma:
name: uptime-kuma
external: true

View File

@@ -14,7 +14,8 @@ services:
- ROCKET_PORT=80
- ROCKET_PROFILE=release
restart: always
labels:
- diun.enable=true
volumes:
vaultwarden_data:
name: vaultwarden_data