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 - PGID=1000
- TZ=Europe/Berlin - TZ=Europe/Berlin
volumes: volumes:
- ${VOLUMES_PATH}/heimdall:/config - ${VOLUMES_PATH}/dashboard/heimdall:/config
expose: expose:
- "80" - "80"
networks: networks:

View file

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

View file

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