updated Database Layer and How to Change Configuration pages#577
Open
stitenko wants to merge 1 commit into
Open
updated Database Layer and How to Change Configuration pages#577stitenko wants to merge 1 commit into
stitenko wants to merge 1 commit into
Conversation
stitenko
commented
Jul 24, 2026
Contributor
- reference/configuration/how-to-change-config.mdx — Rewrote the page: fixed the Linux config path (/usr/share/thingsboard/conf/thingsboard.conf → /etc/thingsboard/conf/thingsboard.conf, matching every other install doc), added the restart step for Linux/Windows, and replaced the vague Docker/Kubernetes sections with concrete guidance (actual service names thingsboard-ce/thingsboard-pe, .env/env_file options, docker compose up -d, K8s env/ConfigMap/Secret) plus links to the Docker Compose and Kubernetes docs.
- reference/architecture/database.mdx — Added a note pointing readers to the "How to change configuration" page, clarifying that the settings on this page are environment variables.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates ThingsBoard documentation to clarify that configuration is primarily managed via environment variables, and provides concrete, deployment-specific instructions for where to set them across Linux, Windows, Docker Compose, and Kubernetes.
Changes:
- Rewrote the “How to change configuration” guide with corrected Linux config path, restart steps, and concrete Docker/Kubernetes guidance.
- Added a clarifying note to the Database Layer page pointing readers to the configuration guide and emphasizing that listed settings are environment variables.
- Minor formatting emphasis change for a referenced blog link.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/content/_includes/docs/reference/configuration/how-to-change-config.mdx | Reworks configuration guidance and deployment-specific instructions (Linux/Windows/Docker/K8s). |
| src/content/_includes/docs/reference/architecture/database.mdx | Adds a note linking to configuration instructions; minor link formatting tweak. |
Comments suppressed due to low confidence (1)
src/content/_includes/docs/reference/configuration/how-to-change-config.mdx:75
- External links opened with target="_blank" should include rel="noopener noreferrer" to prevent reverse-tabnabbing and avoid leaking the opener reference.
<a href="https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/" target="_blank"><strong>Kubernetes documentation</strong></a>
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| If ThingsBoard is deployed using Docker Compose, define the required environment variables in the `environment` section of the corresponding ThingsBoard service, such as `thingsboard-ce` or `thingsboard-pe`, in the `docker-compose.yml` file. | ||
|
|
||
| You can also reference values from an `.env` file using variable interpolation, or load an environment file using the `env_file` attribute. See the <a href="https://docs.docker.com/compose/how-tos/environment-variables/set-environment-variables/" target="_blank"><strong>Docker Compose documentation</strong></a> for details. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.