summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/api/circuit-test-pingpong.json13
-rw-r--r--examples/docker/main.sh2
2 files changed, 14 insertions, 1 deletions
diff --git a/examples/api/circuit-test-pingpong.json b/examples/api/circuit-test-pingpong.json
new file mode 100644
index 00000000..8fcc5d94
--- /dev/null
+++ b/examples/api/circuit-test-pingpong.json
@@ -0,0 +1,13 @@
+{
+ "hops": [
+ [ "4cbc810d4c" ],
+ [ "868cd1664f" ],
+ [ "4cbc810d4c" ],
+ [ "868cd1664f" ],
+ [ "4cbc810d4c" ],
+ [ "868cd1664f" ],
+ [ "4cbc810d4c" ],
+ [ "868cd1664f" ]
+ ],
+ "reportAtEveryHop": true
+}
diff --git a/examples/docker/main.sh b/examples/docker/main.sh
index e9febb13..53fb6540 100644
--- a/examples/docker/main.sh
+++ b/examples/docker/main.sh
@@ -20,6 +20,6 @@ else
fi
rm -f /var/lib/zerotier-one/identity.*
-echo "$ZEROTIER_IDENTITY_SECRET" >identity.secret
+echo "$ZEROTIER_IDENTITY_SECRET" >/var/lib/zerotier-one/identity.secret
/var/lib/zerotier-one/zerotier-one