[GH-ISSUE #4995] Use docker secrets #10502

Open
opened 2026-08-05 01:26:08 -04:00 by saavagebueno · 2 comments
Owner

Originally created by @Fomys on GitHub (Dec 24, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/4995

I am currently installing a netbird instance. All my other services can use docker secrets to avoid hard-coding secrets in the compose file or in an environment file.

Is there a way to read secrets (at least AUTH_CLIENT_ID, AUTH_CLIENT_SECRET, NB_AUTH_SECRET) from /run/secrets/?

Most other projects uses a prefix file:// (authentik) or an variable suffix _FILE (mariadb), but I don't see anything like that in the documentation.

Thanks a lot!

Originally created by @Fomys on GitHub (Dec 24, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/4995 I am currently installing a netbird instance. All my other services can use docker secrets to avoid hard-coding secrets in the compose file or in an environment file. Is there a way to read secrets (at least AUTH_CLIENT_ID, AUTH_CLIENT_SECRET, NB_AUTH_SECRET) from /run/secrets/<secret>? Most other projects uses a prefix `file://` (authentik) or an variable suffix `_FILE` (mariadb), but I don't see anything like that in the documentation. Thanks a lot!
saavagebueno added the feature-request label 2026-08-05 01:26:08 -04:00
Author
Owner

@coderabbitai[bot] commented on GitHub (Dec 24, 2025):

📝 CodeRabbit Plan Mode

Generate an implementation plan and prompts that you can use with your favorite coding agent.

  • Create Plan
Examples

🧪 Issue enrichment is currently in open beta.

You can configure auto-planning by selecting labels in the issue_enrichment configuration.

To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

issue_enrichment:
  auto_enrich:
    enabled: false

💬 Have feedback or questions? Drop into our discord!

<!-- gh-comment-id:3689768278 --> @coderabbitai[bot] commented on GitHub (Dec 24, 2025): <!-- This is an auto-generated issue plan by CodeRabbit --> ### 📝 CodeRabbit Plan Mode Generate an implementation plan and prompts that you can use with your favorite coding agent. - [ ] <!-- {"checkboxId": "8d4f2b9c-3e1a-4f7c-a9b2-d5e8f1c4a7b9"} --> Create Plan <details> <summary>Examples</summary> - [Example 1](https://github.com/coderabbitai/git-worktree-runner/issues/29#issuecomment-3589134556) - [Example 2](https://github.com/coderabbitai/git-worktree-runner/issues/12#issuecomment-3606665167) </details> --- <details> <summary> 🧪 Issue enrichment is currently in open beta.</summary> You can configure auto-planning by selecting labels in the issue_enrichment configuration. To disable automatic issue enrichment, add the following to your `.coderabbit.yaml`: ```yaml issue_enrichment: auto_enrich: enabled: false ``` </details> 💬 Have feedback or questions? Drop into our [discord](https://discord.gg/coderabbit)!
Author
Owner

@Fomys commented on GitHub (Dec 24, 2025):

📝 CodeRabbit Plan Mode

Generate an implementation plan and prompts that you can use with your favorite coding agent.

* [ ]   Create Plan

Examples

🧪 Issue enrichment is currently in open beta.

💬 Have feedback or questions? Drop into our discord!

What should I do with this? I have to explain how to implement the feature and it will create a pull request?

<!-- gh-comment-id:3689771972 --> @Fomys commented on GitHub (Dec 24, 2025): > ### 📝 CodeRabbit Plan Mode > > Generate an implementation plan and prompts that you can use with your favorite coding agent. > > * [ ] Create Plan > > > Examples > > > 🧪 Issue enrichment is currently in open beta. > > 💬 Have feedback or questions? Drop into our [discord](https://discord.gg/coderabbit)! What should I do with this? I have to explain how to implement the feature and it will create a pull request?
Sign in to join this conversation.
No Label feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10502