Skip to content

updated Database Layer and How to Change Configuration pages#577

Open
stitenko wants to merge 1 commit into
thingsboard:mainfrom
stitenko:07.2026/Database-Layer
Open

updated Database Layer and How to Change Configuration pages#577
stitenko wants to merge 1 commit into
thingsboard:mainfrom
stitenko:07.2026/Database-Layer

Conversation

@stitenko

Copy link
Copy Markdown
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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants