0

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

user35042
  • 2,601
  • 10
  • 32
  • 57

0 Answers0