[GH-ISSUE #967] [Feature Request] Create multiple .env files with different vars #24000

Open
opened 2026-06-15 06:53:05 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @tofuwabohu on GitHub (Nov 7, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/967

I have stacks with multiple services where often only some of them need certain vars. I usually have several files for this like:

  • .grafana.env
  • .opnsense-exporter.env
  • .alertbot-matrix.env

They contain secrets and e.g. grafana doesn't need to know opnsense API keys but the exporter does.

I can manually copy them into the repo once it's created, but now I am using Komodo var management for stacks with only a single .env file and the workaround for those with multiples. It would be straightforward to have multiple "Environment" sections to assign variables to certain containers only.

Originally created by @tofuwabohu on GitHub (Nov 7, 2025). Original GitHub issue: https://github.com/moghtech/komodo/issues/967 I have stacks with multiple services where often only some of them need certain vars. I usually have several files for this like: - .grafana.env - .opnsense-exporter.env - .alertbot-matrix.env They contain secrets and e.g. grafana doesn't need to know opnsense API keys but the exporter does. I can manually copy them into the repo once it's created, but now I am using Komodo var management for stacks with only a single .env file and the workaround for those with multiples. It would be straightforward to have multiple "Environment" sections to assign variables to certain containers only.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#24000