Open fabian-born opened 3 years ago
Issue is now considered stale. If you want to keep it open, please comment :+1:
Im wondering about the same, its a little bit nervy.
Isnt there even a simple solution, like mounting any file, that i can replace with docker? i mean in theory i can replace any file in the docker image with a readonly mounted file?
In the Docker image its inside: /global/certbot-dns-plugins.json
Is it possible to add an override file, or an environtment variable that overrides in the json file the string you want, if the environment variable is defined?
I found a way to replace the content in the file:
docker exec -it npm sh -c "jq '.ovh.credentials = \"dns_ovh_endpoint = ovh-eu\\ndns_ovh_application_key = mytestppkey\\ndns_ovh_application_secret = mytestsecret\\ndns_ovh_consumer_key = mytestkey\"' /app/global/certbot-dns-plugins.json > /app/global/temp.json && mv /app/global/temp.json /app/global/certbot-dns-plugins.json"
It works and replaces the credentials in the ovh section. But in the GUI i have still the standard mDadM... credentials. like if the /global/certbot-dns-plugins.json doesnt have any effect. Even after restarting the image.
Does anyone know how to reread the /global/certbot-dns-plugins.json file? so that the changes of the file mirrors to the gui?
Are you in the right place?
Is your feature request related to a problem? Please describe. Every time when I add a new proxy host with a ssl certificate with DNS challenge I have to copy my API token from my password safe into the required field.
Describe the solution you'd like A central place in the profile configuration where API token can be stored.