moved to NFS share for volume storage. Migrated all data
This commit is contained in:
@@ -7,7 +7,8 @@ services:
|
||||
# env_file:
|
||||
# - ${PROJECT_ROOT}/secrets/stack-secrets.env
|
||||
volumes:
|
||||
- ${PROJECT_ROOT}/monitoring/influxdb:/var/lib/influxdb2
|
||||
# - ${PROJECT_ROOT}/monitoring/influxdb:/var/lib/influxdb2
|
||||
- ${DOCKER_DATABASES}/influxdb-data:/var/lib/influxdb2
|
||||
environment:
|
||||
DOCKER_INFLUXDB_INIT_MODE: ${INFLUXDB_INIT_MODE}
|
||||
DOCKER_INFLUXDB_INIT_USERNAME: ${INFLUXDB_INIT_USERNAME}
|
||||
@@ -43,3 +44,7 @@ services:
|
||||
secrets:
|
||||
influxdb_init_password:
|
||||
file: ${PROJECT_ROOT}/secrets/influxdb_init_password.txt
|
||||
|
||||
#volumes:
|
||||
# influxdb-data:
|
||||
# external: true
|
||||
|
||||
Reference in New Issue
Block a user