Replace hardcoded DB credentials with env vars in docker-compose
Adds .env.example as a template and .gitignore to exclude the actual .env file, preventing accidental credential commits. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
4
.env.example
Normal file
4
.env.example
Normal file
@@ -0,0 +1,4 @@
|
||||
# Copy to .env and set a strong password before starting
|
||||
DB_USER=pamietnik
|
||||
DB_NAME=pamietnik
|
||||
DB_PASSWORD=change-me-before-production
|
||||
Reference in New Issue
Block a user