What is the best approach to load credentials file / values to an image during the deploy?
I was thinking in something like a credentials template file. Then I could add an echo “template content” > conf/prod/credentials.yml and replace the values from env variables.
How you guys are handling that?
Thinking better, store the file with credentials inside de image is very bad. Is there a way to use env vars in credentials files? What is not a good idea too because everything with credentials is ignored by .dockerignore.