add env variables for influxdb2 client ssl check

This commit is contained in:
Christoph Kluge 2021-09-30 09:48:37 +02:00
parent ca77de9b76
commit 1f6380a611
4 changed files with 6 additions and 0 deletions

2
.env
View File

@ -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

View File

@ -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}

View File

@ -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}

View File

@ -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