Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions mainnet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,20 +155,18 @@ 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:
op-geth-l2-init:
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
Expand All @@ -185,6 +183,7 @@ services:
ports:
- '18546:18546'
- '28546:28546'
- '5555:5555'
networks:
- "localnode"
entrypoint:
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions scripts/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \\
Expand Down
19 changes: 9 additions & 10 deletions testnet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,20 +158,18 @@ 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:
op-geth-l2-init:
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
Expand All @@ -188,6 +186,7 @@ services:
ports:
- '18546:18546'
- '28546:28546'
- '5555:5555'
networks:
- "localnode"
entrypoint:
Expand Down Expand Up @@ -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
Expand Down