Skip to content

Commit 826ef6e

Browse files
committed
wip
1 parent f7aceec commit 826ef6e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ docker run sfproductlabs/roo:latest
4646
git mod download
4747
make
4848
# update the config if you need
49-
rood ./config.json
49+
sudo rood ./config.json
5050
```
51-
* Run a cluster in a minute on docker swarm
51+
* Run a cluster on docker swarm
5252
```sh
5353
docker swarm init
5454
docker network create -d overlay --attachable forenet --subnet 192.168.9.0/24
55-
#this notifies that we should put roo on machines/swarm-nodes with this label
55+
#the following label notifies that we should put a single instnce of roo on machines/swarm-nodes with the label "load_balancer"
5656
docker node ls -q | xargs docker node update --label-add load_balancer=true
5757
docker stack deploy -c roo-docker-compose.yml --resolve-image never roo
5858
```

roo/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"MaxHeaderBytes": 1048576,
1919
"AllowOrigin": "*",
2020
"DefaultRedirect": "https://sfpl.io",
21-
"Debug": false,
21+
"Debug": true,
2222
"AcmeStaging": false,
2323
"DataDirectoryRoot" : "",
2424
"Cluster": {

0 commit comments

Comments
 (0)