This commit is contained in:
traveler 2025-01-22 09:30:51 -06:00
parent 01db5d2e71
commit e40406e22d
3 changed files with 95 additions and 46 deletions

View file

@ -20,7 +20,7 @@ services:
security_opt: security_opt:
- seccomp=unconfined - seccomp=unconfined
# deploy: # deploy:
# labels: labels:
# - homepage.group=Library # - homepage.group=Library
# - homepage.name=Calibre # - homepage.name=Calibre
# - homepage.icon=calibre.png # - homepage.icon=calibre.png
@ -28,9 +28,9 @@ services:
# - homepage.description=Calibre Library # - homepage.description=Calibre Library
# - kuma.calibre.http.name="Calibre" # - kuma.calibre.http.name="Calibre"
# - kuma.calibre.http.url=http://calibre:8080 # - kuma.calibre.http.url=http://calibre:8080
# - caddy=calibre.netgrimoire.com - caddy=calibre.netgrimoire.com
# - caddy.import=authentik - caddy.import=authentik
# - caddy.reverse_proxy="{{upstreams 8080}}" - caddy.reverse_proxy="{{upstreams 8080}}"
# placement: # placement:
# constraints: # constraints:
# - node.hostname == nas # - node.hostname == nas

49
Compose/monitor.yaml Normal file
View file

@ -0,0 +1,49 @@
services:
scrutiny:
image: ghcr.io/analogj/scrutiny:master-omnibus
container_name: scrutiny
hostname: scrutiny
networks:
- netgrimoire
ports:
- 8081:8080
- 8086:8086
cap_add:
- SYS_RAWIO
devices:
- "/dev/sda"
# - "/dev/sdb"
- "/dev/sdc"
- "/dev/sdd"
- "/dev/sde"
- "/dev/sdf"
- "/dev/sdg"
- "/dev/sdh"
- "/dev/sdi"
- "/dev/sdj"
volumes:
- /run/udev:/run/udev:ro
- /DockerVol/scrutiny/config:/opt/scrutiny/config
- /DockerVol/scrutiny/influxdb:/opt/scrutiny/influxdb
glances:
image: nicolargo/glances
container_name: glances
hostname: glances
restart: always
network_mode: host
privileged: true
pid: host
volumes:
- /docker/volumes/glances/config:/glances/conf
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TZ=America/Chicago
- "GLANCES_OPT=-w"
ports:
- 61208-61209:61208-61209
networks:
netgrimoire:
external: true

View file

@ -1,50 +1,50 @@
version: "3.3" version: "3.3"
services: services:
scrutiny: # scrutiny:
image: ghcr.io/analogj/scrutiny:master-omnibus # image: ghcr.io/analogj/scrutiny:master-omnibus
container_name: scrutiny # container_name: scrutiny
hostname: scrutiny # hostname: scrutiny
networks: # networks:
- netgrimoire # - netgrimoire
ports: # ports:
- 8081:8080 # - 8081:8080
- 8086:8086 # - 8086:8086
cap_add: # cap_add:
- SYS_RAWIO # - SYS_RAWIO
devices: # devices:
- "/dev/sda" # - "/dev/sda"
# - "/dev/sdb" # # - "/dev/sdb"
- "/dev/sdc" # - "/dev/sdc"
- "/dev/sdd" # - "/dev/sdd"
- "/dev/sde" # - "/dev/sde"
- "/dev/sdf" # - "/dev/sdf"
- "/dev/sdg" # - "/dev/sdg"
- "/dev/sdh" # - "/dev/sdh"
- "/dev/sdi" # - "/dev/sdi"
- "/dev/sdj" # - "/dev/sdj"
volumes: # volumes:
- /run/udev:/run/udev:ro # - /run/udev:/run/udev:ro
- /DockerVol/scrutiny/config:/opt/scrutiny/config # - /DockerVol/scrutiny/config:/opt/scrutiny/config
- /DockerVol/scrutiny/influxdb:/opt/scrutiny/influxdb # - /DockerVol/scrutiny/influxdb:/opt/scrutiny/influxdb
glances: # glances:
image: nicolargo/glances # image: nicolargo/glances
container_name: glances # container_name: glances
hostname: glances # hostname: glances
restart: always # restart: always
network_mode: host # network_mode: host
privileged: true # privileged: true
pid: host # pid: host
volumes: # volumes:
- /docker/volumes/glances/config:/glances/conf # - /docker/volumes/glances/config:/glances/conf
- /var/run/docker.sock:/var/run/docker.sock # - /var/run/docker.sock:/var/run/docker.sock
environment: # environment:
- TZ=Europe/Brussels # - TZ=Europe/Brussels
- "GLANCES_OPT=-w" # - "GLANCES_OPT=-w"
ports: # ports:
- 61208-61209:61208-61209 # - 61208-61209:61208-61209
lldap: lldap:
image: lldap/lldap:stable image: lldap/lldap:stable