mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2024-12-26 06:49:06 +01:00
add env variables for influxdb2 client ssl check
This commit is contained in:
parent
ca77de9b76
commit
1f6380a611
2
.env
2
.env
@ -36,6 +36,8 @@ INFLUXDB_PASSWORD=2RPJpkrduLgkpfQCpcBe1jYv
|
||||
INFLUXDB_ADMIN_TOKEN=egLfcf7fx0FESqFYU3RpAAbj
|
||||
INFLUXDB_ORG=ClusterCockpit
|
||||
INFLUXDB_BUCKET=ClusterCockpit/data
|
||||
# Whether or not to check SSL Cert in Symfony Client, Default: true
|
||||
INFLUXDB_SSL=true
|
||||
|
||||
########################################################################
|
||||
# LDAP
|
||||
|
@ -71,6 +71,7 @@ services:
|
||||
INFLUXDB_ADMIN_TOKEN: ${INFLUXDB_ADMIN_TOKEN}
|
||||
INFLUXDB_ORG: ${INFLUXDB_ORG}
|
||||
INFLUXDB_BUCKET: ${INFLUXDB_BUCKET}
|
||||
INFLUXDB_SSL: ${INFLUXDB_SSL}
|
||||
APP_ENVIRONMENT: ${APP_ENVIRONMENT}
|
||||
environment:
|
||||
- APP_CLUSTERCOCKPIT_INIT=${APP_CLUSTERCOCKPIT_INIT}
|
||||
|
@ -70,7 +70,9 @@ ARG INFLUXDB_PASSWORD
|
||||
ARG INFLUXDB_ADMIN_TOKEN
|
||||
ARG INFLUXDB_ORG
|
||||
ARG INFLUXDB_BUCKET
|
||||
ARG INFLUXDB_SSL
|
||||
ENV INFLUXDB_URL=http://cc-influxdb:${INFLUXDB_PORT}
|
||||
ENV INFLUXDB_SSL=${INFLUXDB_SSL}
|
||||
ENV INFLUXDB_TOKEN=${INFLUXDB_ADMIN_TOKEN}
|
||||
ENV INFLUXDB_ORG=${INFLUXDB_ORG}
|
||||
ENV INFLUXDB_BUCKET=${INFLUXDB_BUCKET}
|
||||
|
@ -83,6 +83,7 @@ env[INFLUXDB_URL] = $INFLUXDB_URL
|
||||
env[INFLUXDB_TOKEN] = $INFLUXDB_TOKEN
|
||||
env[INFLUXDB_ORG] = $INFLUXDB_ORG
|
||||
env[INFLUXDB_BUCKET] = $INFLUXDB_BUCKET
|
||||
env[INFLUXDB_SSL] = $INFLUXDB_SSL
|
||||
env[DATABASE_URL] = $DATABASE_URL
|
||||
env[REDIS_URL] = $REDIS_URL
|
||||
env[LDAP_URL] = $LDAP_URL
|
||||
|
Loading…
Reference in New Issue
Block a user