From 6b95cf78ea311001d61a8b38f3b0bb9f3a839a67 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Mon, 13 Apr 2026 18:46:38 +0200 Subject: [PATCH] fix: add datasource username/password defaults to application.yml The new ProvisioningProperties record fields need defaults in application.yml or Spring Boot fails to bind the configuration. Defaults to POSTGRES_USER/POSTGRES_PASSWORD env vars with fallback to cameleer/cameleer_dev. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/main/resources/application.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 533332a..ec10bdb 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -50,6 +50,8 @@ cameleer: publichost: ${CAMELEER_SAAS_PROVISIONING_PUBLICHOST:localhost} publicprotocol: ${CAMELEER_SAAS_PROVISIONING_PUBLICPROTOCOL:https} datasourceurl: ${CAMELEER_SAAS_PROVISIONING_DATASOURCEURL:jdbc:postgresql://postgres:5432/cameleer3} + datasourceusername: ${CAMELEER_SAAS_PROVISIONING_DATASOURCEUSERNAME:${POSTGRES_USER:cameleer}} + datasourcepassword: ${CAMELEER_SAAS_PROVISIONING_DATASOURCEPASSWORD:${POSTGRES_PASSWORD:cameleer_dev}} clickhouseurl: ${CAMELEER_SAAS_PROVISIONING_CLICKHOUSEURL:jdbc:clickhouse://clickhouse:8123/cameleer} clickhouseuser: ${CAMELEER_SAAS_PROVISIONING_CLICKHOUSEUSER:default} clickhousepassword: ${CAMELEER_SAAS_PROVISIONING_CLICKHOUSEPASSWORD:${CLICKHOUSE_PASSWORD:cameleer_ch}}