Skip to content

Commit

Permalink
Merge pull request #350 from vegaprotocol/update-front-end-configs
Browse files Browse the repository at this point in the history
chore: update FE config to run with latest core version
  • Loading branch information
gordsport authored Nov 30, 2022
2 parents 0b56386 + 68f2e36 commit 7e32450
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions net_confs/config_frontends.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Host = "0.0.0.0"
[API]
[API.GRPC]
Hosts = [{{range $i, $v := .Validators}}{{if ne $i 0}},{{end}}"127.0.0.1:30{{$i}}2"{{end}}]
Hosts = [{{range $i, $v := .Validators}}{{if ne $i 0}},{{end}}"127.0.0.1:{{add 300 $i}}2"{{end}}]
Retries = 5
EOT
}
Expand Down Expand Up @@ -58,12 +58,20 @@ EOT
env = {
POSTGRES_USER="vega"
POSTGRES_PASSWORD="vega"
POSTGRES_DBS="vega0,vega1,vega2,vega3,vega4,vega5,vega6"
POSTGRES_DBS="vega0,vega1,vega2,vega3,vega4,vega5,vega6,vega7,vega8,vega9,vega10,vega11,vega12,vega13,vega14,vega15,vega16,vega17,vega18,vega19,vega20,vega21,vega22,vega23,vega24,vega25"
}

static_port {
value = 5232
to = 5432
}
resources {
cpu = 600
memory = 900
}

volume_mounts = ["${network_home_path}:${network_home_path}"]

auth_soft_fail = true
}
}
Expand Down Expand Up @@ -148,7 +156,14 @@ EOT
node_set "full" {
count = 1
mode = "full"
use_data_node = true
use_data_node = true

pre_start_probe {
postgres {
connection = "user=vega dbname=vega{{ .NodeNumber }} password=vega port=5232 sslmode=disable"
query = "select 10 + 10"
}
}

config_templates {
vega_file = "./node_set_templates/default/vega_full.tmpl"
Expand Down

0 comments on commit 7e32450

Please sign in to comment.