Fix readme and update terraform example

This commit is contained in:
Andrew Cravenho 2018-09-24 22:33:22 -04:00
parent c62e6b62eb
commit 0d5bc8130d
2 changed files with 4 additions and 53 deletions

View File

@ -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"
}
```

View File

@ -8,31 +8,4 @@ db_instance_class = "db.m4.xlarge"
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"
}
root_block_size = 120