Fix : attempt to fix Rampage
This commit is contained in:
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user