From e9e0540310bfbabcca81305b0f01fc4ccaf80723 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Tue, 5 Jul 2016 20:14:51 +0100 Subject: [PATCH] Update README with improved example deployment options --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6d7fbfd7..e05465d8 100644 --- a/README.md +++ b/README.md @@ -63,15 +63,15 @@ surreal start --port-web 8000 #### Clustering ```bash -surreal start --port-web 8000 --port-tcp 33693 --join localhost:33693 -surreal start --port-web 8001 --port-tcp 33694 --join localhost:33693 -surreal start --port-web 8002 --port-tcp 33695 --join localhost:33693 +surreal start --port-web 8000 --port-tcp 33693 --db-path surreal-1.db --join localhost:33693 --log-level debug +surreal start --port-web 8001 --port-tcp 33694 --db-path surreal-2.db --join localhost:33693 --log-level debug +surreal start --port-web 8002 --port-tcp 33695 --db-path surreal-3.db --join localhost:33693 --log-level debug ``` #### Deployment ```bash -docker run --name surreal-1 abcum/surreal start --port-web 8000 --port-tcp 33693 --join localhost:33693 -docker run --name surreal-2 abcum/surreal start --port-web 8001 --port-tcp 33694 --join localhost:33693 -docker run --name surreal-3 abcum/surreal start --port-web 8002 --port-tcp 33695 --join localhost:33693 +docker run --name surreal-1 abcum/surreal start --port-web 8000 --port-tcp 33693 --join localhost:33693 --log-level debug +docker run --name surreal-2 abcum/surreal start --port-web 8001 --port-tcp 33694 --join localhost:33693 --log-level debug +docker run --name surreal-3 abcum/surreal start --port-web 8002 --port-tcp 33695 --join localhost:33693 --log-level debug ``` \ No newline at end of file