Samagra-Development / WarpSQL

WarpSQL
https://samagra-development.github.io/WarpSQL/
Apache License 2.0
15 stars 30 forks source link

Secure Docker Compose Configuration by Using .env File #80

Open AtulRajput01 opened 1 year ago

AtulRajput01 commented 1 year ago

Secure Docker Compose Configuration by Using .env File:

This PR addresses the issue #79

Changes Made:

  1. docker-compose.yml : Removed the direct inclusion of POSTGRES_USER and POSTGRES_PASSWORD environment variables and replaced them with references to the .env.sample file.
  2. Added .env.sample file containing the POSTGRES_USER and POSTGRES_PASSWORD environment variables as placeholders.
AtulRajput01 commented 1 year ago

I still see .env not added to .gitignore file.

@jayanth-kumar-morem i added .env file to .gitignore file