Skip to content

Commit 43fdeef

Browse files
committed
PHON-92: Create standalone MongoDB server
1 parent 45f343e commit 43fdeef

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

scripts/presets/standalone.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "mongod",
3+
"id" : "STANDALONE",
4+
"procParams": {
5+
"dbpath": "/tmp/standalone/",
6+
"ipv6": true,
7+
"logappend": true,
8+
"logpath": "/tmp/standalone/mongod.log",
9+
"journal": true,
10+
"port": 2000,
11+
"setParameter": {"enableTestCommands": 1}
12+
}
13+
}
14+

scripts/start-servers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
$orch->stopAll();
1313

14-
$standalone = $orch->startStandalone();
14+
$standalone = $orch->start("standalone.json");
1515
printf("Standalone server running on: %s\n", $standalone);
1616

0 commit comments

Comments
 (0)