C2A-Installation-Server/docker/install-mongo.sh
2019-04-05 14:14:32 +09:00

8 lines
169 B
Bash
Executable File

docker run --detach \
--name mongo \
-p 27017:27017 \
-e MONGO_INITDB_ROOT_USERNAME=c2a \
-e MONGO_INITDB_ROOT_PASSWORD=admin \
--restart unless-stopped \
mongo