It has been in the repository since the initial commit carrying the live database host, user and password. Removing it from the index stops that getting worse; the credentials are still in history and should be rotated, which needs coordinating with everything that reads them. Deployments should pass configuration as container environment rather than shipping a file — a file on disk is one `git add -f` away from being committed again. Also closes the last untested path: a shopper registration published over the broker rather than posted over HTTP. All three MQTT topics — order, customer and health — have now been fired against the live Mosquitto instance and acknowledged. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
59 lines
903 B
Plaintext
59 lines
903 B
Plaintext
# These are some examples of commonly ignored file patterns.
|
|
# You should customize this list as applicable to your project.
|
|
# Learn more about .gitignore:
|
|
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
|
|
|
|
# Node artifact files
|
|
node_modules/
|
|
dist/
|
|
|
|
# Compiled Java class files
|
|
*.class
|
|
|
|
# Compiled Python bytecode
|
|
*.py[cod]
|
|
|
|
# Log files
|
|
*.log
|
|
|
|
# Package files
|
|
*.jar
|
|
|
|
# Maven
|
|
target/
|
|
dist/
|
|
|
|
# JetBrains IDE
|
|
.idea/
|
|
|
|
# Unit test reports
|
|
TEST*.xml
|
|
|
|
# Generated by MacOS
|
|
.DS_Store
|
|
|
|
# Generated by Windows
|
|
Thumbs.db
|
|
|
|
# Applications
|
|
*.app
|
|
*.exe
|
|
*.war
|
|
|
|
# Large media files
|
|
*.mp4
|
|
*.tiff
|
|
*.avi
|
|
*.flv
|
|
*.mov
|
|
*.wmv
|
|
|
|
|
|
# Local configuration. Tracked until 2026-08-03, which put the database
|
|
# credentials in this repository's history — removing it from the index stops
|
|
# that getting worse, but the existing history still has them and the password
|
|
# should be rotated.
|
|
.env
|
|
.env.*
|
|
!.env.example
|