mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 17:56:34 +00:00
fix(config): strip :-default from template (envsubst incompatible)
envsubst only handles ${VAR}, not ${VAR:-default}. The :-default
syntax is bash-only. Defaults come from Dockerfile ARG declarations.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
bb1893719d
commit
6df11b6c18
1 changed files with 21 additions and 20 deletions
|
|
@ -1,10 +1,11 @@
|
||||||
# BSB runtime configuration — template for Docker builds.
|
# BSB runtime configuration — template for Docker builds.
|
||||||
#
|
#
|
||||||
# Placeholders (${VAR}) are replaced by envsubst during docker build.
|
# Placeholders (${VAR}) are replaced by envsubst during docker build.
|
||||||
# Set values via Coolify build args or docker build --build-arg.
|
# Defaults come from Dockerfile ARG declarations, not from this file.
|
||||||
|
# Set overrides via Coolify build args or docker build --build-arg.
|
||||||
#
|
#
|
||||||
# For native (non-Docker) installs, copy to sec-config.yaml and
|
# For native (non-Docker) installs, copy to sec-config.yaml and
|
||||||
# replace placeholders with actual values.
|
# replace ${VAR} placeholders with actual values.
|
||||||
|
|
||||||
default:
|
default:
|
||||||
observable:
|
observable:
|
||||||
|
|
@ -22,14 +23,14 @@ default:
|
||||||
plugin: service-store
|
plugin: service-store
|
||||||
enabled: true
|
enabled: true
|
||||||
config:
|
config:
|
||||||
driver: ${BF_DB_DRIVER:-postgres}
|
driver: ${BF_DB_DRIVER}
|
||||||
sqlitePath: /var/lib/betterframe/betterframe.db
|
sqlitePath: /var/lib/betterframe/betterframe.db
|
||||||
pgHost: ${BF_PG_HOST:-postgres}
|
pgHost: ${BF_PG_HOST}
|
||||||
pgPort: ${BF_PG_PORT:-5432}
|
pgPort: ${BF_PG_PORT}
|
||||||
pgDatabase: ${BF_PG_DATABASE:-betterframe}
|
pgDatabase: ${BF_PG_DATABASE}
|
||||||
pgUser: ${BF_PG_USER:-betterframe}
|
pgUser: ${BF_PG_USER}
|
||||||
pgPassword: ${BF_PG_PASSWORD:-betterframe}
|
pgPassword: ${BF_PG_PASSWORD}
|
||||||
pgPoolMax: ${BF_PG_POOL_MAX:-10}
|
pgPoolMax: ${BF_PG_POOL_MAX}
|
||||||
|
|
||||||
service-admin-http:
|
service-admin-http:
|
||||||
package: betterframe
|
package: betterframe
|
||||||
|
|
@ -48,12 +49,12 @@ default:
|
||||||
argon2Parallelism: 2
|
argon2Parallelism: 2
|
||||||
cookieName: betterframe_session
|
cookieName: betterframe_session
|
||||||
totpIssuer: BetterFrame
|
totpIssuer: BetterFrame
|
||||||
noderedUrl: ${BF_NODERED_URL:-http://nodered:1880}
|
noderedUrl: ${BF_NODERED_URL}
|
||||||
selfUrl: ${BF_SELF_URL:-http://server:18080}
|
selfUrl: ${BF_SELF_URL}
|
||||||
systemdCredsDir: ""
|
systemdCredsDir: ""
|
||||||
firmwareSigningKey: "${BF_FIRMWARE_SIGNING_KEY:-}"
|
firmwareSigningKey: "${BF_FIRMWARE_SIGNING_KEY}"
|
||||||
firmwareImportApiKey: "${BF_FIRMWARE_IMPORT_API_KEY:-}"
|
firmwareImportApiKey: "${BF_FIRMWARE_IMPORT_API_KEY}"
|
||||||
otaImportApiKey: "${BF_OTA_IMPORT_API_KEY:-}"
|
otaImportApiKey: "${BF_OTA_IMPORT_API_KEY}"
|
||||||
|
|
||||||
service-api-http:
|
service-api-http:
|
||||||
package: betterframe
|
package: betterframe
|
||||||
|
|
@ -69,11 +70,11 @@ default:
|
||||||
argon2Parallelism: 2
|
argon2Parallelism: 2
|
||||||
cookieName: betterframe_session
|
cookieName: betterframe_session
|
||||||
totpIssuer: BetterFrame
|
totpIssuer: BetterFrame
|
||||||
noderedUrl: ${BF_NODERED_URL:-http://nodered:1880}
|
noderedUrl: ${BF_NODERED_URL}
|
||||||
mqttUrl: "${BF_MQTT_URL:-}"
|
mqttUrl: "${BF_MQTT_URL}"
|
||||||
mqttUsername: "${BF_MQTT_USERNAME:-}"
|
mqttUsername: "${BF_MQTT_USERNAME}"
|
||||||
mqttPassword: "${BF_MQTT_PASSWORD:-}"
|
mqttPassword: "${BF_MQTT_PASSWORD}"
|
||||||
mqttTopicPrefix: ${BF_MQTT_TOPIC_PREFIX:-betterframe}
|
mqttTopicPrefix: ${BF_MQTT_TOPIC_PREFIX}
|
||||||
|
|
||||||
service-coordinator-ws:
|
service-coordinator-ws:
|
||||||
package: betterframe
|
package: betterframe
|
||||||
|
|
@ -88,4 +89,4 @@ default:
|
||||||
argon2Parallelism: 2
|
argon2Parallelism: 2
|
||||||
cookieName: betterframe_session
|
cookieName: betterframe_session
|
||||||
totpIssuer: BetterFrame
|
totpIssuer: BetterFrame
|
||||||
noderedUrl: ${BF_NODERED_URL:-http://nodered:1880}
|
noderedUrl: ${BF_NODERED_URL}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue