Keep MongoDB off the Internet and its password out of git

MongoDB was published on 0.0.0.0:27017 with the default "example" root
password. It now listens on 127.0.0.1 only (the apps use the Docker
network), and the root password comes from MONGO_PASSWORD in a
git-ignored .env file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ubuntu
2026-10-21 15:12:18 +00:00
co-authored by Claude Opus 5.5
parent ad82a96440
commit 0d6f8d95c3
2 changed files with 8 additions and 3 deletions
+3
View File
@@ -15,3 +15,6 @@ static/device_snapshots/
# Config locale spécifique à cette machine
.claude/
# Mot de passe MongoDB (variables de docker-compose)
.env