Commit 0210fb01b397892f2026930566634acd6050571b
success
Michael Williams committed on 11/16/2017, 8:43:23 AMParent: 5ba46cf63b1df46f478d048acbc1211c02719992
Files changed
README.md | changed |
README.md | ||
---|---|---|
@@ -52,10 +52,10 @@ | ||
52 | 52 … | |
53 | 53 … | #### step 2. run the container |
54 | 54 … | |
55 | 55 … | ```shell |
56 | -docker run --name my-ssb-pub \ | |
57 | - -d -v ~/ssb-pub-data/:/home/node/.ssb/ \ | |
56 … | +docker run -d --name sbot \ | |
57 … | + -v ~/ssb-pub-data/:/home/node/.ssb/ \ | |
58 | 58 … | -e ssb_host="<hostname.yourdomain.tld>" \ |
59 | 59 … | -p 8008:8008 --restart unless-stopped \ |
60 | 60 … | ahdinosaur/ssb-pub |
61 | 61 … | ``` |
@@ -66,8 +66,9 @@ | ||
66 | 66 … | |
67 | 67 … | ```shell |
68 | 68 … | docker run -it --rm \ |
69 | 69 … | -v ~/ssb-pub-data/:/home/node/.ssb/ \ |
70 … | + -e ssb_host="<hostname.yourdomain.tld>" \ | |
70 | 71 … | ahdinosaur/ssb-pub \ |
71 | 72 … | invite.create 1 |
72 | 73 … | ``` |
73 | 74 … | |
@@ -76,13 +77,14 @@ | ||
76 | 77 … | ```shell |
77 | 78 … | ssh root@<hostname.yourdomain.tld> \ |
78 | 79 … | docker run -it --rm \ |
79 | 80 … | -v ~/ssb-pub-data/:/home/node/.ssb/ \ |
81 … | + -e ssb_host="<hostname.yourdomain.tld>" \ | |
80 | 82 … | ahdinosaur/ssb-pub \ |
81 | 83 … | invite.create 1 |
82 | 84 … | ``` |
83 | 85 … | |
84 | 86 … | ## control service |
85 | 87 … | |
86 | -- `docker stop my-ssb-pub` | |
87 | -- `docker start my-ssb-pub` | |
88 | -- `docker restart my-ssb-pub` | |
88 … | +- `docker stop sbot` | |
89 … | +- `docker start sbot` | |
90 … | +- `docker restart sbot` |
Built with git-ssb-web