Compare commits
No commits in common. "50423a02177337a5f522ed6b90ceff5516725232" and "f3bb2bf0db23f8d4b29de0111071f7e99738fdeb" have entirely different histories.
50423a0217
...
f3bb2bf0db
3 changed files with 26 additions and 48 deletions
|
@ -104,27 +104,6 @@ services:
|
||||||
labels:
|
labels:
|
||||||
- "docker.group=monitoring"
|
- "docker.group=monitoring"
|
||||||
|
|
||||||
|
|
||||||
diun:
|
|
||||||
image: crazymax/diun:latest
|
|
||||||
command: serve
|
|
||||||
volumes:
|
|
||||||
- "${VOLUMES_PATH}/monitoring/diun/data:/data"
|
|
||||||
networks:
|
|
||||||
- dockersocket
|
|
||||||
environment:
|
|
||||||
- "TZ=Europe/Berlin"
|
|
||||||
- "DIUN_WATCH_WORKERS=10"
|
|
||||||
- "DIUN_WATCH_SCHEDULE=0 */6 * * *"
|
|
||||||
- "DIUN_WATCH_JITTER=30s"
|
|
||||||
- "DIUN_PROVIDERS_DOCKER_ENDPOINT=tcp://docker-socket-proxy:2375"
|
|
||||||
- "DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true"
|
|
||||||
- "DIUN_NOTIF_NTFY_ENDPOINT=${NTFY_SERVER}"
|
|
||||||
- "DIUN_NOTIF_NTFY_TOPIC=${NTFY_TOPIC}"
|
|
||||||
- "DIUN_NOTIF_NTFY_TOKEN=${NTFY_TOKEN}"
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# here starts data collection of local host
|
# here starts data collection of local host
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,10 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
- nextcloud
|
- nextcloud
|
||||||
# healthcheck:
|
healthcheck:
|
||||||
# test: curl -sSf 'http://localhost/status.php' | grep '"installed":true' | grep '"maintenance":false' | grep '"needsDbUpgrade":false' || exit 1
|
test: curl -sSf 'http://localhost/status.php' | grep '"installed":true' | grep '"maintenance":false' | grep '"needsDbUpgrade":false' || exit 1
|
||||||
# interval: 5s
|
interval: 5s
|
||||||
# timeout: 3s
|
timeout: 3s
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.nextcloud.rule=Host(`cloud.${DOMAIN}`)"
|
- "traefik.http.routers.nextcloud.rule=Host(`cloud.${DOMAIN}`)"
|
||||||
|
@ -138,26 +138,26 @@ services:
|
||||||
- "docker.group=netxtcloud"
|
- "docker.group=netxtcloud"
|
||||||
|
|
||||||
|
|
||||||
# adminer:
|
adminer:
|
||||||
# image: adminer
|
image: adminer
|
||||||
# restart: unless-stopped
|
restart: unless-stopped
|
||||||
# networks:
|
networks:
|
||||||
# - web
|
- web
|
||||||
# - mariadb
|
- mariadb
|
||||||
# environment:
|
environment:
|
||||||
# - ADMINER_DEFAULT_SERVER=db
|
- ADMINER_DEFAULT_SERVER=db
|
||||||
# - ADMINER_DESIGN=flat
|
- ADMINER_DESIGN=flat
|
||||||
# depends_on:
|
depends_on:
|
||||||
# - db
|
- db
|
||||||
# labels:
|
labels:
|
||||||
# - "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
# - "traefik.http.routers.adminer.rule=Host(`adminer.${DOMAIN}`)"
|
- "traefik.http.routers.adminer.rule=Host(`adminer.${DOMAIN}`)"
|
||||||
# - "traefik.http.routers.adminer.entrypoints=websecure"
|
- "traefik.http.routers.adminer.entrypoints=websecure"
|
||||||
# - "traefik.http.routers.adminer.tls.certresolver=netcup"
|
- "traefik.http.routers.adminer.tls.certresolver=netcup"
|
||||||
# - "traefik.http.routers.adminer.tls.options=intermediate@file"
|
- "traefik.http.routers.adminer.tls.options=intermediate@file"
|
||||||
# - "traefik.http.routers.adminer.middlewares=adminerauth"
|
- "traefik.http.routers.adminer.middlewares=adminerauth"
|
||||||
# - "traefik.http.middlewares.adminerauth.basicauth.users=${HTPASSWD_ADMINER}"
|
- "traefik.http.middlewares.adminerauth.basicauth.users=${HTPASSWD_ADMINER}"
|
||||||
# - "docker.group=netxtcloud"
|
- "docker.group=netxtcloud"
|
||||||
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
|
|
|
@ -69,7 +69,6 @@ services:
|
||||||
# grant privileges as environment variables: https://github.com/Tecnativa/docker-socket-proxy#grant-or-revoke-access-to-certain-api-sections
|
# grant privileges as environment variables: https://github.com/Tecnativa/docker-socket-proxy#grant-or-revoke-access-to-certain-api-sections
|
||||||
- CONTAINERS=1
|
- CONTAINERS=1
|
||||||
- INFO=1
|
- INFO=1
|
||||||
- IMAGES=1 # for diun
|
|
||||||
networks:
|
networks:
|
||||||
- dockersocket
|
- dockersocket
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue