-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#385] Unify placeholder usage in configuration templates
Standardized the format of placeholders within template files across the deployment setup to improve the consistency and reliability of dynamic configuration generation. Modified `config.mk`, `backend-config.json.tpl`, and `grafana-provisioning/alerting/alerting.yml` to use a uniform placeholder notation, enclosed in angle brackets (e.g., `<PLACEHOLDER>`), for all configurable values. This refinement simplifies the template processing logic, ensuring a more streamlined and error-free substitution of environment-specific values during the deployment process, thereby enhancing the overall maintainability of the deployment infrastructure.
- Loading branch information
Showing
3 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"dbsyncconfig" : { | ||
"host" : "postgres", | ||
"dbname" : "DBSYNC_POSTGRES_DB", | ||
"user" : "DBSYNC_POSTGRES_USER", | ||
"password" : "DBSYNC_POSTGRES_PASSWORD", | ||
"dbname" : "<DBSYNC_POSTGRES_DB>", | ||
"user" : "<DBSYNC_POSTGRES_USER>", | ||
"password" : "<DBSYNC_POSTGRES_PASSWORD>", | ||
"port" : 5432 | ||
}, | ||
"port" : 9876, | ||
"host" : "0.0.0.0", | ||
"cachedurationseconds": 20, | ||
"sentrydsn": "SENTRY_DSN" | ||
"sentrydsn": "<SENTRY_DSN>" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters