mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-10 17:48:25 +08:00
8 lines
228 B
Bash
Executable file
8 lines
228 B
Bash
Executable file
#!/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
|