diff --git a/mainnet/docker-compose.yml b/mainnet/docker-compose.yml index 3e76b44..004b90b 100644 --- a/mainnet/docker-compose.yml +++ b/mainnet/docker-compose.yml @@ -155,8 +155,11 @@ services: # Hemi L2 node op-geth-l2: - image: ghcr.io/hemilabs/op-geth:6ba3f1d@sha256:0b32cd4646ec55fddcb8620894e0404f546fe8c812d683b2e39215f682ae6e8e + image: ghcr.io/hemilabs/op-geth:e92aa4e@sha256:8fae1da6c091733a37e0830f70c70ef07b98d18816fab2fa7e05a5000e57fa24 platform: linux/amd64 + logging: + options: + max-size: "1m" # XXX does geth need to be fully synced profiles: ["hemi", "hemi-min", "full"] depends_on: @@ -164,11 +167,6 @@ services: condition: "service_completed_successfully" op-geth-l2-init-tbc: condition: "service_completed_successfully" - healthcheck: - test: ["CMD", "nc", "-vz", "0.0.0.0", "18546"] - interval: 5s - timeout: 5s - retries: 999999 volumes: - ./genesis.json:/tmp/genesis.json # change this token value if you expose this service's ports for @@ -185,6 +183,7 @@ services: ports: - '18546:18546' - '28546:28546' + - '5555:5555' networks: - "localnode" entrypoint: @@ -223,12 +222,12 @@ services: # Hemi op-node op-node: - image: ghcr.io/hemilabs/op-node:4c1032e@sha256:5424e6b54104c78e5398693aebfe82c381407065370bd73fa0cd0ed81c4121d7 + image: ghcr.io/hemilabs/op-node:6ca664e@sha256:aecdd7009e908838b470c8a0d844e2492d1ef1beeae1797599a46553d1fcae95 platform: linux/amd64 + logging: + options: + max-size: "1m" profiles: ["hemi", "hemi-min", "full"] - depends_on: - op-geth-l2: - condition: "service_healthy" volumes: # change this token value if you expose this service's ports for # connection from other machines diff --git a/scripts/gen.sh b/scripts/gen.sh index a2af4f8..69745d1 100755 --- a/scripts/gen.sh +++ b/scripts/gen.sh @@ -193,6 +193,7 @@ geth \\ $OVERRIDES \\ --tbc.network=$TBC_NET \\ --tbc.leveldbhome=/tbcdata/data \\ + --tbc.prometheusaddress='0.0.0.0:5555' \\ --hvm.headerdatadir=/tbcdata/headers \\ --hvm.genesisheight=$HVM_GENESIS \\ --hvm.genesisheader=$HVM_GENESIS_HEADER \\ diff --git a/testnet/docker-compose.yml b/testnet/docker-compose.yml index 785ec23..38d57b6 100644 --- a/testnet/docker-compose.yml +++ b/testnet/docker-compose.yml @@ -158,8 +158,11 @@ services: # Hemi L2 node op-geth-l2: - image: ghcr.io/hemilabs/op-geth:6ba3f1d@sha256:0b32cd4646ec55fddcb8620894e0404f546fe8c812d683b2e39215f682ae6e8e + image: ghcr.io/hemilabs/op-geth:e92aa4e@sha256:8fae1da6c091733a37e0830f70c70ef07b98d18816fab2fa7e05a5000e57fa24 platform: linux/amd64 + logging: + options: + max-size: "1m" # XXX does geth need to be fully synced profiles: ["hemi", "hemi-min", "full"] depends_on: @@ -167,11 +170,6 @@ services: condition: "service_completed_successfully" op-geth-l2-init-tbc: condition: "service_completed_successfully" - healthcheck: - test: ["CMD", "nc", "-vz", "0.0.0.0", "18546"] - interval: 5s - timeout: 5s - retries: 999999 volumes: - ./genesis.json:/tmp/genesis.json # change this token value if you expose this service's ports for @@ -188,6 +186,7 @@ services: ports: - '18546:18546' - '28546:28546' + - '5555:5555' networks: - "localnode" entrypoint: @@ -226,12 +225,12 @@ services: # Hemi op-node op-node: - image: ghcr.io/hemilabs/op-node:4c1032e@sha256:5424e6b54104c78e5398693aebfe82c381407065370bd73fa0cd0ed81c4121d7 + logging: + options: + max-size: "1m" + image: ghcr.io/hemilabs/op-node:6ca664e@sha256:aecdd7009e908838b470c8a0d844e2492d1ef1beeae1797599a46553d1fcae95 platform: linux/amd64 profiles: ["hemi", "hemi-min", "full"] - depends_on: - op-geth-l2: - condition: "service_healthy" volumes: # change this token value if you expose this service's ports for # connection from other machines