mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-14 13:44:37 +08:00
9 lines
228 B
Text
9 lines
228 B
Text
|
#!/bin/bash
|
||
|
docker run -d \
|
||
|
-e MONGO_INITDB_ROOT_USERNAME:='mongoadmin' \
|
||
|
-e MONGO_INITDB_ROOT_PASSWORD:='mongopass' \
|
||
|
-p 27017:27017 mongo:4.2
|
||
|
go run . --clientmode=off
|
||
|
cd test
|
||
|
go test . -v
|