skynet/run-mongo.sh

10 lines
224 B
Bash
Raw Normal View History

2022-12-04 23:39:43 +00:00
docker run
-d \
--rm \
-p 27017:27017 \
--name mongodb-skynet \
--mount type=bind,source="$(pwd)"/mongodb,target=/data/db \
-e MONGO_INITDB_ROOT_USERNAME="" \
-e MONGO_INITDB_ROOT_PASSWORD="" \
mongo