mirror of
https://github.com/slurdge/goeland.git
synced 2026-11-11 13:13:58 +00:00
[GH-ISSUE #300] Goeland Seems to Ignore/Not Read Some Environment Variables #49
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: slurdge/goeland#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Apr 20, 2026).
Original GitHub issue: https://github.com/slurdge/goeland/issues/300
Describe the bug
I run goeland in daemon mode in docker. While it seems to pickup and read some environment variables set, it doesn't read them all.
GOELAND_EMAIL_INCLUDE_HEADER=falseandGOELAND_EMAIL_INCLUDE_FOOTER=falseseem to be at least two that are ignored. These must be configured on theconfig.tomlto be read, as far as I can tell.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I should not be getting headers and footers with the above example environment variables.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A
@slurdge commented on GitHub (Apr 20, 2026):
Thanks for the report.
There is nothing special for those env variables, as all env variables are derived from config. I'll check as to why it's not taken into account.
@ghost commented on GitHub (Apr 20, 2026):
And just to confirm, I'm not running some old crazy version! Docker image:
ghcr.io/slurdge/goeland:v0.23.0🫡@slurdge commented on GitHub (Apr 20, 2026):
I think it comes from the fact I forgot to specify
viper.SetEnvPrefix("goeland"). You could try without theGOELAND_(but as I would fix the bug, it would break later)@ghost commented on GitHub (Apr 20, 2026):
Edit: moved to #301