chore(docker): add test compose fixtures

This commit is contained in:
2026-05-04 17:02:56 +02:00 Unverified
parent daf7894f27
commit 01d8455df6
10 changed files with 163 additions and 5 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ services:
volumes:
- mongodb_data:/data/db
healthcheck:
test: ["CMD-SHELL", "mongosh --quiet --username ${MONGO_USER:-theplug} --password ${MONGO_PASSWORD:-theplug_dev_password} --authenticationDatabase admin --eval \"db.adminCommand({ ping: 1 }).ok\" | grep 1"]
test: ["CMD-SHELL", "mongosh --quiet --username ${MONGO_USER:-theplug} --password ${MONGO_INITDB_ROOT_PASSWORD} --authenticationDatabase admin --eval \"db.adminCommand({ ping: 1 }).ok\" | grep 1"]
interval: 10s
timeout: 5s
retries: 5