-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to new Blox SSV network (#1459)
* Switch to new Blox SSV network * Fix ssv-config.yaml * Fix SSV Dashboard jq * Support legacy along jato v2 SSV * Create legacy SSV conf file on start * Rename role to ssv
- Loading branch information
1 parent
7ac9773
commit a09adba
Showing
8 changed files
with
161 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- job_name: ssv | ||
metrics_path: /metrics | ||
static_configs: | ||
- targets: | ||
- ssv-node:15000 | ||
- job_name: ssv_health | ||
metrics_path: /health | ||
static_configs: | ||
- targets: | ||
- ssv-node:15000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
OperatorPrivateKey: YOURPRIVATEKEYHERE | ||
ssv: | ||
Network: jato-v2 | ||
p2p: | ||
DiscoveryType: discv5 | ||
TcpPort: 13001 | ||
UdpPort: 12001 | ||
db: | ||
Path: /tmp/ssv/db | ||
Type: badger-db | ||
eth2: | ||
BeaconNodeAddr: http://consensus:5052 | ||
eth1: | ||
ETH1Addr: ws://execution:8546 | ||
MetricsAPIPort: 15000 | ||
global: | ||
LogFormat: json | ||
LogLevelFormat: lowercase | ||
LogLevel: info | ||
LogFilePath: /tmp/ssv/debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
version: "3.9" | ||
x-logging: &logging | ||
logging: | ||
driver: json-file | ||
options: | ||
max-size: 100m | ||
max-file: "3" | ||
tag: '{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}' | ||
|
||
services: | ||
ssv-node: | ||
restart: "unless-stopped" | ||
# image: bloxstaking/ssv-node:${SSV_NODE_TAG:-latest} | ||
image: bloxstaking/ssv-node-unstable:${SSV_NODE_TAG:-latest} | ||
user: 12000:12000 | ||
volumes: | ||
- ./ssv-config.yaml:/config.yaml | ||
- ssv-data:/tmp | ||
- /etc/localtime:/etc/localtime:ro | ||
ports: | ||
- ${SSV_P2P_PORT}:${SSV_P2P_PORT}/tcp | ||
- ${SSV_P2P_PORT_UDP}:${SSV_P2P_PORT_UDP}/udp | ||
<<: *logging | ||
environment: | ||
- CONFIG_PATH=/config.yaml | ||
- HOME=/tmp | ||
command: make BUILD_PATH=/go/bin/ssvnode start-node | ||
ssv-generate-keys: | ||
profiles: ["tools"] | ||
restart: "no" | ||
image: bloxstaking/ssv-node:${SSV_NODE_TAG:-latest} | ||
command: /go/bin/ssvnode generate-operator-keys | ||
volumes: | ||
ssv-data: |