Refactor docker-compose files

This commit is contained in:
2022-08-29 14:37:55 +03:00
parent 7b0636312c
commit 9c051ed370
28 changed files with 624 additions and 700 deletions

View File

@@ -0,0 +1,32 @@
version: '3.9'
services:
scrutiny:
image: ghcr.io/analogj/scrutiny:master-omnibus
restart: unless-stopped
volumes:
- '/home/nick/configs/scrutiny/config:/opt/scrutiny/config'
- '/home/nick/configs/scrutiny/influxdb2:/opt/scrutiny/influxdb'
- '/run/udev:/run/udev:ro'
environment:
- 'PUID=1000'
- 'PGID=1000'
- 'TZ=Europe/Athens'
- 'COLLECTOR_API_ENDPOINT=http://localhost:8080/storage'
devices:
- /dev/sda:/dev/sda
- /dev/sdb:/dev/sdb
- /dev/sdc:/dev/sdc
- /dev/sdd:/dev/sdd
- /dev/sde:/dev/sde
cap_add:
- SYS_RAWIO
- SYS_ADMIN
networks:
- default
- routing
networks:
routing:
external: true
name: routing