Skip to content

Commit 1ca6795

Browse files
authored
Merge pull request #465 from autonomys/chronos_domains
add domain nodes for chronos
2 parents 3474efd + f571dd7 commit 1ca6795

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed

resources/terraform/chronos/main.tf

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,82 @@ module "chronos" {
9090
}
9191
]
9292
}
93+
94+
domain-bootstrap-node-config = {
95+
instance-type = "c7a.2xlarge"
96+
disk-volume-size = var.disk_volume_size
97+
disk-volume-type = var.disk_volume_type
98+
bootstrap-nodes = [
99+
{
100+
domain-id = 0
101+
domain-name = "auto-evm"
102+
docker-tag = "chronos"
103+
reserved-only = false
104+
index = 0
105+
sync-mode = "full"
106+
},
107+
{
108+
domain-id = 0
109+
domain-name = "auto-evm"
110+
docker-tag = "chronos"
111+
reserved-only = false
112+
index = 1
113+
sync-mode = "full"
114+
}
115+
]
116+
}
117+
118+
domain-rpc-node-config = {
119+
instance-type = "c7a.4xlarge"
120+
disk-volume-size = var.disk_volume_size
121+
disk-volume-type = var.disk_volume_type
122+
enable-reverse-proxy = true
123+
enable-load-balancer = true
124+
rpc-nodes = [
125+
{
126+
domain-id = 0
127+
domain-name = "auto-evm"
128+
docker-tag = "chronos"
129+
reserved-only = false
130+
index = 0
131+
sync-mode = "full"
132+
eth-cache = true
133+
},
134+
{
135+
domain-id = 0
136+
domain-name = "auto-evm"
137+
docker-tag = "chronos"
138+
reserved-only = false
139+
index = 1
140+
sync-mode = "full"
141+
eth-cache = true
142+
}
143+
]
144+
}
145+
146+
domain-operator-node-config = {
147+
instance-type = "c7a.2xlarge"
148+
disk-volume-size = var.disk_volume_size
149+
disk-volume-type = var.disk_volume_type
150+
operator-nodes = [
151+
{
152+
domain-id = 0
153+
domain-name = "auto-evm"
154+
docker-tag = "chronos"
155+
reserved-only = false
156+
index = 0
157+
operator-id = 0
158+
sync-mode = "full"
159+
},
160+
{
161+
domain-id = 0
162+
domain-name = "auto-evm"
163+
docker-tag = "chronos"
164+
reserved-only = false
165+
index = 1
166+
operator-id = 1
167+
sync-mode = "full"
168+
}
169+
]
170+
}
93171
}

0 commit comments

Comments
 (0)