1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Static Peer Configuration for Automerge+Iroh Backend
#
# This file defines a static mesh of peers that should connect to each other.
# Each peer is identified by:
# - node_id: Iroh PublicKey (EndpointId) in hex format
# - addresses: List of direct addresses (IP:port) or relay URLs
# Local node configuration (optional - can be auto-detected)
[]
# Bind address for this node (0.0.0.0:0 for any interface, random port)
= "127.0.0.1:9000"
# Optional: Override node ID (otherwise uses generated keypair)
# node_id = "abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"
# Static peer definitions
[[]]
= "node-1"
= "6eb2a534751444f1353b29aa307c78c1f72acfbb06bb8696103dfeede1f4f854"
= [
"127.0.0.1:9001",
]
[[]]
= "node-2"
= "b654917328aea8ccfae00463d63642eb4904bd276fecb4caf94dd740a76b5567"
= [
"127.0.0.1:9002",
]
[[]]
= "node-3"
= "2a462572243915ce03133d5d04a4972aa04694000476c588d11666ab3d7ef93b"
= [
"127.0.0.1:9003",
# Can include multiple addresses for redundancy
# "192.168.1.100:9003",
]
# Example with relay URL (for future Phase 7)
# [[peers]]
# name = "remote-node"
# node_id = "f322c63754d2cfd7d20251ad86a8a8e89f8c9589247f106e12d2c208f2792a9b"
# addresses = []
# relay_url = "https://relay.example.com"