C2A-Installation-Server/docker/mongo.sh

8 lines
169 B
Bash
Raw Normal View History

2019-04-03 07:42:41 +00:00
docker run --detach \
--name mongo \
-p 27017:27017 \
-e MONGO_INITDB_ROOT_USERNAME=c2a \
-e MONGO_INITDB_ROOT_PASSWORD=admin \
--restart unless-stopped \
2019-04-03 08:09:15 +00:00
mongo