Add InfluxDB v2 Env variables

This commit is contained in:
Jan Eitzinger 2021-09-29 16:06:54 +02:00
parent 021fe0ba4f
commit b152145990
2 changed files with 5 additions and 3 deletions

4
.env
View File

@ -2,7 +2,7 @@
# CLUSTERCOCKPIT SETTINGS # CLUSTERCOCKPIT SETTINGS
######################################################################## ########################################################################
CLUSTERCOCKPIT_BRANCH=develop CLUSTERCOCKPIT_BRANCH=develop
APP_CLUSTERCOCKPIT_INIT=true APP_CLUSTERCOCKPIT_INIT=false
APP_ENVIRONMENT=dev APP_ENVIRONMENT=dev
APP_SECRET=67d829bf61dc5f87a73fd814e2c9f629 APP_SECRET=67d829bf61dc5f87a73fd814e2c9f629
@ -32,6 +32,8 @@ MYSQL_PASSWORD=symfony
INFLUXDB_PORT=8086 INFLUXDB_PORT=8086
INFLUXDB_PASSWORD=2RPJpkrduLgkpfQCpcBe1jYv INFLUXDB_PASSWORD=2RPJpkrduLgkpfQCpcBe1jYv
INFLUXDB_ADMIN_TOKEN=egLfcf7fx0FESqFYU3RpAAbj INFLUXDB_ADMIN_TOKEN=egLfcf7fx0FESqFYU3RpAAbj
INFLUXDB_ORG=ClusterCockpit
INFLUXDB_BUCKET=ClusterCockpit/data
######################################################################## ########################################################################
# LDAP # LDAP

View File

@ -22,8 +22,8 @@ services:
DOCKER_INFLUXDB_INIT_MODE: setup DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: symfony DOCKER_INFLUXDB_INIT_USERNAME: symfony
DOCKER_INFLUXDB_INIT_PASSWORD: ${INFLUXDB_PASSWORD} DOCKER_INFLUXDB_INIT_PASSWORD: ${INFLUXDB_PASSWORD}
DOCKER_INFLUXDB_INIT_ORG: ClusterCockpit DOCKER_INFLUXDB_INIT_ORG: ${INFLUXDB_ORG}
DOCKER_INFLUXDB_INIT_BUCKET: ClusterCockpit DOCKER_INFLUXDB_INIT_BUCKET: ${INFLUXDB_BUCKET}
DOCKER_INFLUXDB_INIT_RETENTION: 100w DOCKER_INFLUXDB_INIT_RETENTION: 100w
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: ${INFLUXDB_ADMIN_TOKEN} DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: ${INFLUXDB_ADMIN_TOKEN}
ports: ports: