move volumes to stack/service schema

This commit is contained in:
Florian Zirker 2024-02-09 13:48:18 +01:00
parent 6eb69e9914
commit 03ea7a3d95
3 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ services:
- PGID=1000
- TZ=Europe/Berlin
volumes:
- ${VOLUMES_PATH}/heimdall:/config
- ${VOLUMES_PATH}/dashboard/heimdall:/config
expose:
- "80"
networks:

View file

@ -38,7 +38,7 @@ services:
grafanadb:
image: postgres:${POSTGRES_VERSION}
volumes:
- ${VOLUMES_PATH}/grafanadb:/var/lib/postgresql/data
- ${VOLUMES_PATH}/monitoring/grafanadb:/var/lib/postgresql/data
networks:
- monitoring
restart: unless-stopped
@ -59,7 +59,7 @@ services:
environment:
- INFLUXDB_MONITOR_STORE_ENABLED=false
volumes:
- ${VOLUMES_PATH}/influxdb/:/var/lib/influxdb
- ${VOLUMES_PATH}/monitoring/influxdb/:/var/lib/influxdb
- ${PWD}/influxdb.conf:/etc/influxdb/influxdb.conf:ro
labels:
- "traefik.enable=true"

View file

@ -5,7 +5,7 @@ services:
image: cupsd
volumes:
- /var/run/dbus:/var/run/dbus
- ${VOLUMES_PATH}/cups:/etc/cups
- ${VOLUMES_PATH}/print/cups:/etc/cups
devices:
- /dev/usb/lp0
privileged: true