Description
Desired Behavior
Instead of editing /config/dns-conf/cloudflare.ini to hardcode email and API key/token and drag that sensitive credentials through Git (my case), I'd like to have envsubst
triggered on container start that takes environment variables like EMAIL
and CF_API_TOKEN
and replaces those environment variables in files.
Considering user already adds these values to their compose or .env file, it makes little sense to have same creds added in multiple locations if they can be added automatically.
I'm guessing this behavior is applicable to other DNS providers as well.
Current Behavior
The user needs to add the same environment variable values multiple times, once in compose file and second time to cloudflare.ini.
Alternatives Considered
Manually maintaining the same values in multiple places and accidentally checking sensitive creds to git for people who version their setups.