Files: 3ed513c33a63c4dec6c04e26770a621df61cc360 / tmpl / docs / config / configure-scuttlebot.md
1319 bytesRaw
Configure Scuttlebot
Scuttlebot keeps all data and configuration in the ~/.ssb
directory.
Configuration is stored in ~/.ssb/config
, which is a JSON file:
{
"host": "",
"port": 8008,
"timeout": 30000,
"pub": true,
"local": true,
friends: {
"dunbar": 150,
"hops": 3
},
"gossip": {
"connections": 2
}
}
You can also specify config flags in the sbot server
call.
For example:
sbot server --port 1234 --timeout 500
The options:
host
(string) The domain or ip address forsbot
. Defaults to your public ip address.port
(string|number) The port forsbot
. Defaults to8008
.timeout
: (number) Number of milliseconds a replication stream can idle before it's automatically disconnected. Defaults to30000
.pub
(boolean) Replicate with pub servers. Defaults totrue
.local
(boolean) Replicate with local servers found on the same network viaudp
. Defaults totrue
.friends.dunbar
(number)Dunbar's number
. Number of nodes your instance will replicate. Defaults to150
.friends.hops
(number) How many friend of friend hops to replicate. Defaults to3
.gossip.connections
(number) How many other nodes to connect with at one time. Defaults to2
.
Built with git-ssb-web