server-config.json.example 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "logging": {
  3. "level": "notice"
  4. },
  5. "caps": {
  6. "shs": "H5EC+V5BU9s0lWxCkt4z8a095Sj8a6TgiLKPYi1JD7s="
  7. },
  8. "pub": true,
  9. "local": false,
  10. "friends": {
  11. "dunbar": 300,
  12. "hops": 3
  13. },
  14. "gossip": {
  15. "connections": 50,
  16. "local": false,
  17. "friends": true,
  18. "seed": true,
  19. "global": true
  20. },
  21. "replicationScheduler": {
  22. "autostart": true,
  23. "partialReplication": null
  24. },
  25. "autofollow": {
  26. "enabled": true,
  27. "feeds": [
  28. "@0qSCyK3xyL71X4qKkmf84Cb2riP6OeUqxCvbP2Z6HWs=.ed25519"
  29. ]
  30. },
  31. "connections": {
  32. "seeds": [
  33. ],
  34. "incoming": {
  35. "net": [
  36. {
  37. "scope": ["device", "local", "public"],
  38. "transform": "shs",
  39. "port": 8008,
  40. "external": "pub.example.com"
  41. }
  42. ],
  43. "unix": [
  44. {
  45. "scope": [
  46. "device",
  47. "local",
  48. "private"
  49. ],
  50. "transform": "noauth"
  51. }
  52. ]
  53. },
  54. "outgoing": {
  55. "net": [
  56. {
  57. "transform": "shs"
  58. }
  59. ],
  60. "tunnel": [],
  61. "onion": [],
  62. "ws": []
  63. }
  64. }
  65. }