-
Notifications
You must be signed in to change notification settings - Fork 5
/
test-config.toml
82 lines (65 loc) · 2.23 KB
/
test-config.toml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
RootCertLoc = "private/root-cert.pem"
[IMAP]
Greeting = "Pluto ready."
HierarchySeparator = "."
[Distributor]
Name = "eu-west-distributor"
PublicMailAddr = "127.0.0.1:19933"
ListenMailAddr = "127.0.0.1:19933"
PrometheusAddr = "127.0.0.1:9001"
PublicCertLoc = "private/public-distributor-cert.pem"
PublicKeyLoc = "private/public-distributor-key.pem"
InternalCertLoc = "private/internal-distributor-cert.pem"
InternalKeyLoc = "private/internal-distributor-key.pem"
AuthAdapter = "AuthFile"
[Distributor.AuthFile]
File = "test-users.txt"
Separator = ";"
[Workers]
[Workers.worker-1]
Name = "eu-west-worker-1"
PublicMailAddr = "127.0.0.1:20001"
ListenMailAddr = "127.0.0.1:20001"
PublicSyncAddr = "127.0.0.1:30001"
ListenSyncAddr = "127.0.0.1:30001"
PrometheusAddr = "127.0.0.1:9001"
CertLoc = "private/internal-worker-1-cert.pem"
KeyLoc = "private/internal-worker-1-key.pem"
UserStart = 1
UserEnd = 10
MaildirRoot = "private/Maildirs/worker-1/"
CRDTLayerRoot = "private/crdt-layers/worker-1/"
[Workers.worker-1.Peers.subnet-1]
us-west-worker-1 = "127.0.0.1:30101"
asia-south-worker-1 = "127.0.0.1:30201"
storage = "127.0.0.1:31000"
[Storage]
Name = "storage"
PublicMailAddr = "127.0.0.1:21000"
ListenMailAddr = "127.0.0.1:21000"
PrometheusAddr = "127.0.0.1:9001"
CertLoc = "private/internal-storage-cert.pem"
KeyLoc = "private/internal-storage-key.pem"
MaildirRoot = "private/Maildirs/storage/"
CRDTLayerRoot = "private/crdt-layers/storage/"
[Storage.SyncAddrs.subnet-1]
Public = "127.0.0.1:31000"
Listen = "127.0.0.1:31000"
[Storage.Peers.subnet-1]
eu-west-worker-1 = "127.0.0.1:30001"
us-west-worker-1 = "127.0.0.1:30101"
asia-south-worker-1 = "127.0.0.1:30201"
[Storage.SyncAddrs.subnet-2]
Public = "127.0.0.1:32000"
Listen = "127.0.0.1:32000"
[Storage.Peers.subnet-2]
eu-west-worker-2 = "127.0.0.1:30002"
us-west-worker-2 = "127.0.0.1:30102"
asia-south-worker-2 = "127.0.0.1:30202"
[Storage.SyncAddrs.subnet-3]
Public = "127.0.0.1:33000"
Listen = "127.0.0.1:33000"
[Storage.Peers.subnet-3]
eu-west-worker-3 = "127.0.0.1:30003"
us-west-worker-3 = "127.0.0.1:30103"
asia-south-worker-3 = "127.0.0.1:30203"