refactor: update configuration structure in lowcoder template

- Changed the configuration sections from single entries to arrays for 'domains' and 'env' in template.toml to allow for multiple configurations in the future.
This commit is contained in:
Mauricio Siu 2025-03-30 01:18:59 -06:00
parent a14872b61f
commit 99304283f6

View File

@ -4,12 +4,12 @@ encryption_password = "${password:32}"
encryption_salt = "${password:32}"
api_secret = "${password:32}"
[config.domains]
[[config.domains]]
serviceName = "lowcoder-api-service"
port = 3000
host = "${main_domain}"
[config.env]
[[config.env]]
ENABLE_USER_SIGN_UP = false
ENCRYPTION_PASSWORD = "${encryption_password}"
ENCRYPTION_SALT = "${encryption_salt}"