Move storage locations to {VOLUME_PATH}/{COMPOSE_STACK_NAME}/{SERVICE_NAME} schema
This commit is contained in:
parent
922b97710f
commit
23903d003d
5 changed files with 19 additions and 19 deletions
|
@ -39,7 +39,7 @@ services:
|
|||
grafanadb:
|
||||
image: postgres:${POSTGRES_VERSION}
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/grafanadb:/var/lib/postgresql/data
|
||||
- ${VOLUMES_PATH}/monitoring/grafanadb:/var/lib/postgresql/data
|
||||
networks:
|
||||
- grafana
|
||||
restart: unless-stopped
|
||||
|
@ -61,7 +61,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"
|
||||
|
@ -84,7 +84,7 @@ services:
|
|||
- web # also used to get traefik metrics
|
||||
volumes:
|
||||
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
||||
- ${VOLUMES_PATH}/prometheus:/prometheus
|
||||
- ${VOLUMES_PATH}/monitoring/prometheus:/prometheus
|
||||
labels:
|
||||
- "docker.group=monitoring"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue