Chore : remove jsons from back
release-tag / release-image (push) Has been cancelled

This commit is contained in:
2024-08-01 23:12:44 +02:00
parent 6c1429f952
commit 750a4f037c
21 changed files with 11 additions and 2421 deletions
+5 -12
View File
@@ -1,18 +1,11 @@
services:
mongo:
image: docker.io/mongo
image: git.legonzaur.fr/heronfief/db-mongo:main
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
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 $$@"
command: mongod --replSet rs0 --keyFile /opt/keyfile/mongodb-keyfile
volumes:
- ./mongodb-keyfile:/opt/keyfile/mongodb-keyfile
- mongo:/data/db
# volumes:
# - mongo:/data/db
volumes:
mongo:
# docker run --rm -it --network=host --name mongoContainer mongo:latest mongosh mongodb://127.0.0.1:27017 -u root -p example --eval "rs.initiate({'_id':'rs0', members: [{'_id':1, 'host':'127.0.0.1:27017'}]})"
# volumes:
# mongo: