Skip to content

Commit

Permalink
Support Teku failover client; legacy compose version to 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Aug 22, 2022
1 parent cb1fb54 commit c04e56e
Show file tree
Hide file tree
Showing 43 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion akula.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion alerts.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
services:
alertmanager:
restart: "unless-stopped"
Expand Down
2 changes: 1 addition & 1 deletion besu.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion blox-ssv.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Deprecated v1 testnet, will eventually be removed or changed
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion blox-ssv2.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion cl-shared.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
services:
consensus:
ports:
Expand Down
2 changes: 1 addition & 1 deletion consensus-keyapi-localport.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
services:
consensus:
ports:
Expand Down
4 changes: 2 additions & 2 deletions default.env
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ JWT_SECRET=
DISTRIBUTED=
# Authenticated execution client endpoint. This default uses the execution node container.
EL_NODE=http://execution:8551
# Consensus client address. This could be comma-separated for Lighthouse, with failover,
# or could just be a remote consensus client URL for Teku, Lighthouse or Prysm "validator only" setups. Not in use for Nimbus.
# Consensus client address. This could be comma-separated for Lighthouse or Teku VC clients, with failover,
# or could just be a remote consensus client URL for "validator only" setups. Not in use for Nimbus.
CL_NODE=http://consensus:5052

# You can set specific version targets and choose binary or compiled from source builds below,
Expand Down
2 changes: 1 addition & 1 deletion deposit-cli.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
services:
deposit-cli-new:
profiles: ["tools"]
Expand Down
2 changes: 1 addition & 1 deletion ee-shared.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# To be used in conjunction with erigon.yml, nethermind.yml, besu.yml or geth.yml
# For distributed setups only. Please be very cautious when exposing your engine API
version: "3.4"
version: "3.9"
services:
execution:
ports:
Expand Down
2 changes: 1 addition & 1 deletion ee-traefik.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# To be used in conjunction with erigon.yml, nethermind.yml, besu.yml or geth.yml
# For distributed setups only. Please be very cautious when exposing your engine port
version: "3.4"
version: "3.9"
services:
execution:
labels:
Expand Down
2 changes: 1 addition & 1 deletion el-shared.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# To be used in conjunction with erigon.yml, nethermind.yml, besu.yml or geth.yml
version: "3.4"
version: "3.9"
services:
execution:
ports:
Expand Down
2 changes: 1 addition & 1 deletion el-traefik.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# To be used in conjunction with erigon.yml, nethermind.yml, besu.yml or geth.yml
version: "3.4"
version: "3.9"
services:
execution:
labels:
Expand Down
2 changes: 1 addition & 1 deletion erigon.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion geth.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion grafana-localhost.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
services:
grafana:
ports:
Expand Down
2 changes: 1 addition & 1 deletion grafana-shared.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
services:
grafana:
ports:
Expand Down
2 changes: 1 addition & 1 deletion grafana.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion lh-slasher.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
services:
consensus:
command:
Expand Down
2 changes: 1 addition & 1 deletion lighthouse-base.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion lighthouse-cl-only.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion lighthouse-vc-only.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion lodestar-base.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion lodestar-cl-only.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion lodestar-vc-only.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion mev-boost.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion nethermind.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion nimbus-base.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion nimbus-cl-only.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion prometheus-traefik.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Prometheus federation, or other reasons to have prometheus through traefik
version: "3.4"
version: "3.9"
services:
prometheus:
labels:
Expand Down
2 changes: 1 addition & 1 deletion prometheus/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY ./none.yml /etc/prometheus
COPY ./choose-config.sh /usr/local/bin/choose-config.sh

# For reference and local testing with docker; this is otherwise set by docker-compose
ENV CLIENT=lh-base
ENV CLIENT=lighthouse-base

ENTRYPOINT choose-config.sh
CMD ["/bin/prometheus", "--storage.tsdb.path=/prometheus", "--web.console.libraries=/usr/share/prometheus/console_libraries", "--web.console.templates=/usr/share/prometheus/consoles"]
2 changes: 1 addition & 1 deletion prysm-base.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion prysm-cl-only.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion prysm-slasher.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
services:
consensus:
command:
Expand Down
2 changes: 1 addition & 1 deletion prysm-stats.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Send client stats to beaconcha.in service
version: "3.4"
version: "3.9"
services:
consensus:
command:
Expand Down
2 changes: 1 addition & 1 deletion prysm-vc-only.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion prysm-web-shared.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
services:
validator:
ports:
Expand Down
2 changes: 1 addition & 1 deletion teku-base.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion teku-cl-only.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
4 changes: 2 additions & 2 deletions teku-vc-only.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down Expand Up @@ -26,7 +26,7 @@ services:
- docker-entrypoint-vc.sh
- /opt/teku/bin/teku
- validator-client
- --beacon-node-api-endpoint=${CL_NODE:-http://consensus:5052}
- --beacon-node-api-endpoints=${CL_NODE:-http://consensus:5052}
- --data-path=/var/lib/teku
- --log-destination=CONSOLE
- --network=auto
Expand Down
2 changes: 1 addition & 1 deletion traefik-aws.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion traefik-cf.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
x-logging: &logging
logging:
driver: json-file
Expand Down
2 changes: 1 addition & 1 deletion validator-keyapi-localport.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.4"
version: "3.9"
services:
validator:
ports:
Expand Down

0 comments on commit c04e56e

Please sign in to comment.