Fix : attempt to fix Rampage

This commit is contained in:
2024-07-31 10:19:51 +02:00
parent 73efadbaed
commit 540a34f211
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -7,10 +7,10 @@ services:
MONGO_INITDB_ROOT_PASSWORD: example
ports:
- 27017:27017
# entrypoint: bash -c "chown 999:999 /opt/keyfile/mongodb-keyfile && chmod 400 /opt/keyfile/mongodb-keyfile && exec docker-entrypoint.sh $$@"
# entrypoint: bash -c "chown 999:999 /opt/keyfile/mongodb-keyfile && chmod 400 /opt/keyfile/mongodb-keyfile && exec docker-entrypoint.sh $$@"
command: mongod --replSet rs0 --keyFile /opt/keyfile/mongodb-keyfile
volumes:
- ./:/opt/keyfile/
- ./mongodb-keyfile:/opt/keyfile/mongodb-keyfile
- mongo:/data/db
volumes: