Skip to content
Snippets Groups Projects
Commit 1ca8f116 authored by Bert Palm's avatar Bert Palm :bug:
Browse files

fix DSN and parts of it

parent b866c2f8
No related branches found
No related tags found
1 merge request!194fix DSN and parts of it
Pipeline #435723 passed
......@@ -67,9 +67,11 @@ S3MAP_POSTGRES_DB=postgres
# Read-only user for any service
# that want to access the configdb.
CONFIGDB_DSN=postgresql://configdb:configdb@database:5432/postgres
CONFIGDB_USER=configdb
CONFIGDB_PASSWORD=configdb
CONFIGDB_HOST=database
CONFIGDB_DB=postgres
CONFIGDB_PORT=5432
############################################################
# mqtt-broker (mosquitto)
......@@ -178,7 +180,6 @@ ALLOWED_VOS=UFZ-Timeseries-Management
############################################################
TOMCAT_IMAGE_TAG=9.0.90
############################################################
# tsmdl (python, fastapi)
############################################################
......
......@@ -843,7 +843,12 @@ services:
MQTT_PASSWORD: "${MQTT_PASSWORD}"
MQTT_CLIENT_ID: "basic-demo-scheduler"
MQTT_QOS: "${MQTT_QOS}"
CONFIGDB_DSN: "${CONFIGDB_DSN}"
CONFIGDB_DSN: "postgresql://\
${CONFIGDB_USER}:\
${CONFIGDB_PASSWORD}@\
${CONFIGDB_HOST}:\
${CONFIGDB_PORT}/\
${CONFIGDB_DATABASE}"
DB_API_BASE_URL: "${DB_API_BASE_URL}"
command:
- "--verbose"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment