mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-27 02:12:18 +01:00
26 lines
674 B
PHP
26 lines
674 B
PHP
<?php
|
|
require __DIR__ . "/" . "../tests/utils/orchestration.php";
|
|
|
|
|
|
$host = "http://192.168.112.10:8889";
|
|
if ($_ENV && isset($_ENV["ORCHESTRATION"])) {
|
|
$host = $_ENV["ORCHESTRATION"];
|
|
}
|
|
|
|
$orch = new Mongo\Orchestration($host);
|
|
|
|
$orch->stopAll();
|
|
|
|
$standalone = $orch->start("standalone.json");
|
|
printf("Standalone server running on: %s\n", $standalone);
|
|
|
|
$ssl = $orch->start("standalone-ssl.json");
|
|
printf("Standalone SSL server running on: %s\n", $ssl);
|
|
|
|
$auth = $orch->start("standalone-auth.json");
|
|
printf("Standalone Auth server running on: %s\n", $auth);
|
|
|
|
$x509 = $orch->start("standalone-x509.json");
|
|
printf("Standalone X509 Auth server running on: %s\n", $x509);
|
|
|