Fix readme and update terraform example
This commit is contained in:
parent
c62e6b62eb
commit
0d5bc8130d
28
README.md
28
README.md
|
@ -126,36 +126,14 @@ root_block_size = 120
|
|||
|
||||
## Defining Chains/Adding Chains
|
||||
|
||||
The default of this repo is to build infra for the `sokol` chain, but you may not want that, or want a different set, so you need to
|
||||
`cp terraform.tfvars.example terraform.tfvars` and edit the following configuration:
|
||||
The default of this repo is to build infra for the `sokol` chain, but you may not want that, or want a different set, so you need to create/edit `terraform.tfvars` or `user.auto.tfvars` and add the following configuration:
|
||||
|
||||
```terraform
|
||||
chains = {
|
||||
"sokol" = "https://sokol.poa.network"
|
||||
"mychain" = "url/to/endpoint"
|
||||
}
|
||||
chain_trace_endpoints = {
|
||||
"sokol" = "https://sokol-trace.poa.network"
|
||||
}
|
||||
chain_ws_endpoints = {
|
||||
"sokol" = "wss://sokol-ws.poa.network/ws"
|
||||
}
|
||||
chain_logo = {
|
||||
"sokol" = "/images/sokol_logo.svg"
|
||||
}
|
||||
chain_css_file = {
|
||||
"sokol" = "sokol_variables"
|
||||
}
|
||||
chain_check_origin = {
|
||||
"sokol" = "['//*.blockscout.com']"
|
||||
}
|
||||
chain_coin = {
|
||||
"sokol" = "POA"
|
||||
}
|
||||
chain_network = {
|
||||
"sokol" = "POA Network"
|
||||
}
|
||||
chain_subnetwork = {
|
||||
"sokol" = "Sokol Testnet"
|
||||
"mychain" = "url/to/debug/endpoint/or/the/main/chain/endpoint"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -9,30 +9,3 @@ db_storage = "120"
|
|||
alb_ssl_policy = "ELBSecurityPolicy-2016-08"
|
||||
alb_certificate_arn = "arn:aws:acm:us-east-1:290379793816:certificate/6d1bab74-fb46-4244-aab2-832bf519ab24"
|
||||
root_block_size = 120
|
||||
chains = {
|
||||
"sokol" = "https://sokol.poa.network"
|
||||
}
|
||||
chain_trace_endpoints = {
|
||||
"sokol" = "https://sokol-trace.poa.network"
|
||||
}
|
||||
chain_ws_endpoints = {
|
||||
"sokol" = "wss://sokol-ws.poa.network/ws"
|
||||
}
|
||||
chain_logo = {
|
||||
"sokol" = "/images/sokol_logo.svg"
|
||||
}
|
||||
chain_css_file = {
|
||||
"sokol" = "sokol_variables"
|
||||
}
|
||||
chain_check_origin = {
|
||||
"sokol" = "['//*.blockscout.com']"
|
||||
}
|
||||
chain_coin = {
|
||||
"sokol" = "POA"
|
||||
}
|
||||
chain_network = {
|
||||
"sokol" = "POA Network"
|
||||
}
|
||||
chain_subnetwork = {
|
||||
"sokol" = "Sokol Testnet"
|
||||
}
|
Loading…
Reference in New Issue