bh/d-script/up-mongo.sh
Primakov Alexandr Alexandrovich ed9eb93013 mongo docker script
2024-12-04 19:27:11 +03:00

11 lines
213 B
Bash

docker \
run \
-d \
--rm \
--name bh-mongo \
-e MONGO_INITDB_ROOT_USERNAME=qqq \
-e MONGO_INITDB_ROOT_PASSWORD=qqq \
-p 27017:27017 \
-v bh-mongo-volume:/data/db \
mongo:8.0.3;