expose API at unstable.kiln.beacon-api.nimbus.team
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
79c5899f62
commit
5bbc1458cf
|
@ -56,6 +56,12 @@ beacon_node_discovery_port: '{{ 9000 + idx|int + 1 }}'
|
|||
beacon_node_listening_port: '{{ 9000 + idx|int + 1 }}'
|
||||
beacon_node_metrics_port: '{{ 9200 + idx|int + 1 }}'
|
||||
beacon_node_rest_port: '{{ 9300 + idx|int + 1 }}'
|
||||
beacon_node_rest_address: '0.0.0.0'
|
||||
|
||||
# Make one of the nodes public
|
||||
redirect_ports:
|
||||
# beacon-node-kiln-devauth-01.service
|
||||
- { src: 80, dst: 9301, comment: 'Test Beacon API (80->9301/tcp)' }
|
||||
|
||||
nodes_layout:
|
||||
'metal-01.he-eu-hel1.nimbus.kiln':
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
serial: '{{ serial|default(1) }}'
|
||||
hosts:
|
||||
- nimbus-kiln-metal
|
||||
roles:
|
||||
- { role: redirect-ports, tags: [ redirect-ports ] }
|
||||
tasks:
|
||||
- include_role: name=infra-role-geth
|
||||
tags: [ geth, infra-role-geth ]
|
||||
|
|
9
kiln.tf
9
kiln.tf
|
@ -13,3 +13,12 @@ module "nimbus_nodes_kiln_hetzner" {
|
|||
"65.21.89.157", # metal-01.he-eu-hel1.nimbus.kiln
|
||||
]
|
||||
}
|
||||
|
||||
/* Community test REST API endpoints. */
|
||||
resource "cloudflare_record" "unstable_kiln_beacon_api" {
|
||||
zone_id = local.zones["nimbus.team"]
|
||||
name = "unstable.kiln.beacon-api"
|
||||
value = module.nimbus_nodes_kiln_hetzner.public_ips[0]
|
||||
type = "A"
|
||||
proxied = false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue