An application inside a docker container is a required connection for external PostgreSQL DB. How can I pass variables inside the docker container for this application securely? I have in the file pass.conf
:
db_user=postgre
db_password=test
With hardcoded credentials that I copy inside a container in Dockerfile. This solution works but I am trying to do it more securely. thank you