move volumes to stack/service schema
This commit is contained in:
parent
6eb69e9914
commit
03ea7a3d95
3 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue