Skip to content

Commit

Permalink
Remove RESTART; keymanager on configured API port
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Aug 10, 2022
1 parent e2b9bc2 commit c4111f4
Show file tree
Hide file tree
Showing 28 changed files with 57 additions and 46 deletions.
2 changes: 1 addition & 1 deletion akula.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
execution:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./akula
dockerfile: ${AKULA_DOCKERFILE}
Expand Down
2 changes: 1 addition & 1 deletion alerts.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.4"
services:
alertmanager:
restart: ${RESTART}
restart: "unless-stopped"
image: prom/alertmanager
volumes:
- alertmanager-data:/alertmanager
Expand Down
2 changes: 1 addition & 1 deletion besu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
execution:
restart: "${RESTART}"
restart: "unless-stopped"
stop_grace_period: 3m
build:
context: ./besu
Expand Down
2 changes: 1 addition & 1 deletion blox-ssv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
ssv-node:
restart: "${RESTART}"
restart: "unless-stopped"
image: bloxstaking/ssv-node:${SSV_NODE_TAG:-latest}
user: 12000:12000
volumes:
Expand Down
2 changes: 0 additions & 2 deletions default.env
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ CL_REST_PORT=5052
#GETH_CACHE=--cache=256
GETH_CACHE=

# Restart policy: Set to no if you do not want services to automatically restart
RESTART=unless-stopped
# If you want debug logs, set this to debug instead of info
LOG_LEVEL=info

Expand Down
2 changes: 1 addition & 1 deletion erigon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
execution:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./erigon
dockerfile: ${ERIGON_DOCKERFILE}
Expand Down
2 changes: 1 addition & 1 deletion ethd
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ envmigrate() {
PROM_HOST PRYSM_HOST EE_HOST EL_HOST EL_LB EL_WS_HOST EL_WS_LB CL_HOST CL_LB DDNS_SUBDOMAIN DDNS_PROXY RAPID_SYNC_URL \
CL_NODE BEACON_STATS_API BEACON_STATS_MACHINE EL_P2P_PORT CL_P2P_PORT PRYSM_PORT DOPPELGANGER \
PRYSM_UDP_PORT GRAFANA_PORT KEY_API_PORT TRAEFIK_WEB_PORT TRAEFIK_WEB_HTTP_PORT CL_REST_PORT \
EL_RPC_PORT EL_WS_PORT EE_PORT ERIGON_TORRENT_PORT RESTART LOG_LEVEL JWT_SECRET GETH_CACHE SSV_P2P_PORT SSV_P2P_PORT_UDP )
EL_RPC_PORT EL_WS_PORT EE_PORT ERIGON_TORRENT_PORT LOG_LEVEL JWT_SECRET GETH_CACHE SSV_P2P_PORT SSV_P2P_PORT_UDP )
TARGET_VARS=( NIM_SRC_BUILD_TARGET NIM_DOCKER_TAG NIM_DOCKERFILE TEKU_SRC_BUILD_TARGET TEKU_DOCKER_TAG \
TEKU_DOCKERFILE LH_SRC_BUILD_TARGET LH_DOCKER_TAG LH_DOCKERFILE PRYSM_SRC_BUILD_TARGET \
PRYSM_DOCKER_TAG PRYSM_DOCKERFILE ERIGON_SRC_BUILD_TARGET ERIGON_DOCKER_TAG ERIGON_DOCKERFILE \
Expand Down
2 changes: 1 addition & 1 deletion geth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
execution:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./geth
dockerfile: ${GETH_DOCKERFILE}
Expand Down
14 changes: 7 additions & 7 deletions grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
prometheus:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./prometheus
image: prometheus:local
Expand Down Expand Up @@ -46,7 +46,7 @@ services:
- /etc/localtime:/etc/localtime:ro
<<: *logging
blackbox-exporter:
restart: "${RESTART}"
restart: "unless-stopped"
image: prom/blackbox-exporter:master
volumes:
- ./prometheus/blackbox.yml:/config/blackbox.yml
Expand All @@ -55,7 +55,7 @@ services:
command:
- --config.file=/config/blackbox.yml
json-exporter:
restart: "${RESTART}"
restart: "unless-stopped"
image: quay.io/prometheuscommunity/json-exporter
volumes:
- ./prometheus/json.yml:/config/json.yml
Expand All @@ -65,7 +65,7 @@ services:
- --config.file
- /config/json.yml
cryptowat-exporter:
restart: "${RESTART}"
restart: "unless-stopped"
image: nbarrientos/cryptowat_exporter
volumes:
- /etc/localtime:/etc/localtime:ro
Expand All @@ -85,7 +85,7 @@ services:
- /var/lib/docker/containers:/var/lib/docker/containers:ro
command:
- '--config.file=/etc/promtail/promtail.yml'
restart: "${RESTART}"
restart: "unless-stopped"
depends_on:
- loki
<<: *logging
Expand All @@ -96,10 +96,10 @@ services:
- ./loki:/etc/loki
command:
- '--config.file=/etc/loki/loki.yml'
restart: "${RESTART}"
restart: "unless-stopped"
<<: *logging
grafana:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./grafana
image: grafana:local
Expand Down
5 changes: 3 additions & 2 deletions lighthouse-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
consensus:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./lighthouse
dockerfile: ${LH_DOCKERFILE}
Expand Down Expand Up @@ -72,7 +72,7 @@ services:
- ${FEE_RECIPIENT}

validator:
restart: "${RESTART}"
restart: "unless-stopped"
image: lighthouse:merge
user: lhvalidator
environment:
Expand Down Expand Up @@ -180,6 +180,7 @@ services:
- /etc/localtime:/etc/localtime:ro
environment:
- KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD:-}
- KEY_API_PORT=${KEY_API_PORT:-7500}
depends_on:
- validator
entrypoint:
Expand Down
2 changes: 1 addition & 1 deletion lighthouse-cl-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
consensus:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./lighthouse
dockerfile: ${LH_DOCKERFILE}
Expand Down
3 changes: 2 additions & 1 deletion lighthouse-vc-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
validator:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./lighthouse
dockerfile: ${LH_DOCKERFILE}
Expand Down Expand Up @@ -119,6 +119,7 @@ services:
- /etc/localtime:/etc/localtime:ro
environment:
- KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD:-}
- KEY_API_PORT=${KEY_API_PORT:-7500}
depends_on:
- validator
entrypoint:
Expand Down
7 changes: 4 additions & 3 deletions lodestar-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
consensus:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./lodestar
dockerfile: ${LS_DOCKERFILE}
Expand Down Expand Up @@ -66,7 +66,7 @@ services:
- ${FEE_RECIPIENT}

validator:
restart: "${RESTART}"
restart: "unless-stopped"
image: lodestar:merge
user: lsvalidator
environment:
Expand Down Expand Up @@ -105,7 +105,7 @@ services:

validator-import:
profiles: ["tools"]
restart: "${RESTART}"
restart: "unless-stopped"
image: lodestar:merge
user: root
volumes:
Expand Down Expand Up @@ -169,6 +169,7 @@ services:
environment:
- LSBUGGED="true"
- KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD:-}
- KEY_API_PORT=${KEY_API_PORT:-7500}
depends_on:
- validator
entrypoint:
Expand Down
2 changes: 1 addition & 1 deletion lodestar-cl-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
consensus:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./lodestar
dockerfile: ${LS_DOCKERFILE}
Expand Down
5 changes: 3 additions & 2 deletions lodestar-vc-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
validator:
restart: "${RESTART}"
restart: "unless-stopped"
image: lodestar:merge
user: lsvalidator
environment:
Expand Down Expand Up @@ -46,7 +46,7 @@ services:

validator-import:
profiles: ["tools"]
restart: "${RESTART}"
restart: "unless-stopped"
image: lodestar:merge
user: root
volumes:
Expand Down Expand Up @@ -108,6 +108,7 @@ services:
environment:
- LSBUGGED="true"
- KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD:-}
- KEY_API_PORT=${KEY_API_PORT:-7500}
depends_on:
- validator
entrypoint:
Expand Down
2 changes: 1 addition & 1 deletion mev-boost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ x-logging: &logging

services:
mev-boost:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./flashbots
dockerfile: ${MEV_DOCKERFILE}
Expand Down
2 changes: 1 addition & 1 deletion nethermind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
execution:
restart: "${RESTART}"
restart: "unless-stopped"
stop_grace_period: 3m
stop_signal: SIGINT
build:
Expand Down
3 changes: 2 additions & 1 deletion nimbus-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
consensus:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./nimbus
args:
Expand Down Expand Up @@ -120,6 +120,7 @@ services:
environment:
- NIMBUGGED="true"
- KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD:-}
- KEY_API_PORT=${KEY_API_PORT:-7500}
depends_on:
- consensus
entrypoint:
Expand Down
2 changes: 1 addition & 1 deletion nimbus-cl-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
consensus:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./nimbus
args:
Expand Down
5 changes: 3 additions & 2 deletions prysm-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ x-build: &prysm-build

services:
consensus:
restart: "${RESTART}"
restart: "unless-stopped"
build:
target: consensus
<<: *prysm-build
Expand Down Expand Up @@ -73,7 +73,7 @@ services:
- ${FEE_RECIPIENT}

validator:
restart: "${RESTART}"
restart: "unless-stopped"
build:
target: validator
<<: *prysm-build
Expand Down Expand Up @@ -202,6 +202,7 @@ services:
- /etc/localtime:/etc/localtime:ro
environment:
- KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD:-}
- KEY_API_PORT=${KEY_API_PORT:-7500}
- PRYSM="true"
depends_on:
- validator
Expand Down
2 changes: 1 addition & 1 deletion prysm-cl-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ x-build: &prysm-build

services:
consensus:
restart: "${RESTART}"
restart: "unless-stopped"
build:
target: consensus
<<: *prysm-build
Expand Down
3 changes: 2 additions & 1 deletion prysm-vc-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ x-build: &prysm-build

services:
validator:
restart: "${RESTART}"
restart: "unless-stopped"
build:
target: validator
<<: *prysm-build
Expand Down Expand Up @@ -139,6 +139,7 @@ services:
- /etc/localtime:/etc/localtime:ro
environment:
- KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD:-}
- KEY_API_PORT=${KEY_API_PORT:-7500}
- PRYSM="true"
depends_on:
- validator
Expand Down
3 changes: 2 additions & 1 deletion teku-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
consensus:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./teku
args:
Expand Down Expand Up @@ -110,6 +110,7 @@ services:
environment:
- TLS="true"
- KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD:-}
- KEY_API_PORT=${KEY_API_PORT:-7500}
depends_on:
- consensus
entrypoint:
Expand Down
2 changes: 1 addition & 1 deletion teku-cl-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
consensus:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./teku
args:
Expand Down
3 changes: 2 additions & 1 deletion teku-vc-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
validator:
restart: "${RESTART}"
restart: "unless-stopped"
build:
context: ./teku
args:
Expand Down Expand Up @@ -83,6 +83,7 @@ services:
environment:
- TLS="true"
- KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD:-}
- KEY_API_PORT=${KEY_API_PORT:-7500}
depends_on:
- validator
entrypoint:
Expand Down
2 changes: 1 addition & 1 deletion traefik-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
image: traefik-aws
build:
context: ./traefik
restart: ${RESTART}
restart: "unless-stopped"
command:
# - --log.level=DEBUG
# - --accesslog=true
Expand Down
Loading

0 comments on commit c4111f4

Please sign in to comment.