download rollup.json with iniut container
This commit is contained in:
@@ -109,6 +109,21 @@ services:
|
|||||||
- ${NO_SSL:+traefik.http.routers.hashkeychain-testnet-op-geth-archive-leveldb-hash.rule=Path(`/hashkeychain-testnet-archive`) || Path(`/hashkeychain-testnet-archive/`)}
|
- ${NO_SSL:+traefik.http.routers.hashkeychain-testnet-op-geth-archive-leveldb-hash.rule=Path(`/hashkeychain-testnet-archive`) || Path(`/hashkeychain-testnet-archive/`)}
|
||||||
- traefik.http.routers.hashkeychain-testnet-op-geth-archive-leveldb-hash.middlewares=hashkeychain-testnet-op-geth-archive-leveldb-hash-stripprefix, ipallowlist
|
- traefik.http.routers.hashkeychain-testnet-op-geth-archive-leveldb-hash.middlewares=hashkeychain-testnet-op-geth-archive-leveldb-hash-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
hashkeychain-testnet-archive-node-init:
|
||||||
|
image: alpine:3.20
|
||||||
|
entrypoint: [/bin/sh, -c]
|
||||||
|
command:
|
||||||
|
- |
|
||||||
|
apk add --no-cache ca-certificates curl
|
||||||
|
mkdir -p /config
|
||||||
|
[ ! -f /config/rollup.json ] && curl -fsSL -o /config/rollup.json "https://hashkeychain.s3.ap-southeast-1.amazonaws.com/testnet/rollup.json"
|
||||||
|
restart: no
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes_from:
|
||||||
|
- hashkeychain-testnet-archive-node
|
||||||
|
logging: *logging-defaults
|
||||||
|
|
||||||
hashkeychain-testnet-archive-node:
|
hashkeychain-testnet-archive-node:
|
||||||
image: ${HASHKEYCHAIN_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${HASHKEYCHAIN_TESTNET_NODE_VERSION:-v1.19.0}
|
image: ${HASHKEYCHAIN_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${HASHKEYCHAIN_TESTNET_NODE_VERSION:-v1.19.0}
|
||||||
ports:
|
ports:
|
||||||
@@ -140,10 +155,13 @@ services:
|
|||||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||||
- OP_NODE_SYNCMODE=execution-layer
|
- OP_NODE_SYNCMODE=execution-layer
|
||||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||||
entrypoint: /bin/sh -c 'mkdir -p /config && [ ! -f /config/rollup.json ] && wget -qO /config/rollup.json "https://hashkeychain.s3.ap-southeast-1.amazonaws.com/testnet/rollup.json"; exec op-node "$@"' --
|
entrypoint: [op-node]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- hashkeychain-testnet-archive
|
hashkeychain-testnet-archive-node-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
hashkeychain-testnet-archive:
|
||||||
|
condition: service_started
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -109,6 +109,21 @@ services:
|
|||||||
- ${NO_SSL:+traefik.http.routers.hashkeychain-testnet-op-geth-pruned-pebble-hash.rule=Path(`/hashkeychain-testnet`) || Path(`/hashkeychain-testnet/`)}
|
- ${NO_SSL:+traefik.http.routers.hashkeychain-testnet-op-geth-pruned-pebble-hash.rule=Path(`/hashkeychain-testnet`) || Path(`/hashkeychain-testnet/`)}
|
||||||
- traefik.http.routers.hashkeychain-testnet-op-geth-pruned-pebble-hash.middlewares=hashkeychain-testnet-op-geth-pruned-pebble-hash-stripprefix, ipallowlist
|
- traefik.http.routers.hashkeychain-testnet-op-geth-pruned-pebble-hash.middlewares=hashkeychain-testnet-op-geth-pruned-pebble-hash-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
hashkeychain-testnet-node-init:
|
||||||
|
image: alpine:3.20
|
||||||
|
entrypoint: [/bin/sh, -c]
|
||||||
|
command:
|
||||||
|
- |
|
||||||
|
apk add --no-cache ca-certificates curl
|
||||||
|
mkdir -p /config
|
||||||
|
[ ! -f /config/rollup.json ] && curl -fsSL -o /config/rollup.json "https://hashkeychain.s3.ap-southeast-1.amazonaws.com/testnet/rollup.json"
|
||||||
|
restart: no
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes_from:
|
||||||
|
- hashkeychain-testnet-node
|
||||||
|
logging: *logging-defaults
|
||||||
|
|
||||||
hashkeychain-testnet-node:
|
hashkeychain-testnet-node:
|
||||||
image: ${HASHKEYCHAIN_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${HASHKEYCHAIN_TESTNET_NODE_VERSION:-v1.19.0}
|
image: ${HASHKEYCHAIN_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${HASHKEYCHAIN_TESTNET_NODE_VERSION:-v1.19.0}
|
||||||
ports:
|
ports:
|
||||||
@@ -140,10 +155,13 @@ services:
|
|||||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||||
- OP_NODE_SYNCMODE=execution-layer
|
- OP_NODE_SYNCMODE=execution-layer
|
||||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||||
entrypoint: /bin/sh -c 'mkdir -p /config && [ ! -f /config/rollup.json ] && wget -qO /config/rollup.json "https://hashkeychain.s3.ap-southeast-1.amazonaws.com/testnet/rollup.json"; exec op-node "$@"' --
|
entrypoint: [op-node]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- hashkeychain-testnet
|
hashkeychain-testnet-node-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
hashkeychain-testnet:
|
||||||
|
condition: service_started
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -109,6 +109,21 @@ services:
|
|||||||
- ${NO_SSL:+traefik.http.routers.hashkeychain-testnet-op-geth-pruned-pebble-path.rule=Path(`/hashkeychain-testnet`) || Path(`/hashkeychain-testnet/`)}
|
- ${NO_SSL:+traefik.http.routers.hashkeychain-testnet-op-geth-pruned-pebble-path.rule=Path(`/hashkeychain-testnet`) || Path(`/hashkeychain-testnet/`)}
|
||||||
- traefik.http.routers.hashkeychain-testnet-op-geth-pruned-pebble-path.middlewares=hashkeychain-testnet-op-geth-pruned-pebble-path-stripprefix, ipallowlist
|
- traefik.http.routers.hashkeychain-testnet-op-geth-pruned-pebble-path.middlewares=hashkeychain-testnet-op-geth-pruned-pebble-path-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
hashkeychain-testnet-node-init:
|
||||||
|
image: alpine:3.20
|
||||||
|
entrypoint: [/bin/sh, -c]
|
||||||
|
command:
|
||||||
|
- |
|
||||||
|
apk add --no-cache ca-certificates curl
|
||||||
|
mkdir -p /config
|
||||||
|
[ ! -f /config/rollup.json ] && curl -fsSL -o /config/rollup.json "https://hashkeychain.s3.ap-southeast-1.amazonaws.com/testnet/rollup.json"
|
||||||
|
restart: no
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes_from:
|
||||||
|
- hashkeychain-testnet-node
|
||||||
|
logging: *logging-defaults
|
||||||
|
|
||||||
hashkeychain-testnet-node:
|
hashkeychain-testnet-node:
|
||||||
image: ${HASHKEYCHAIN_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${HASHKEYCHAIN_TESTNET_NODE_VERSION:-v1.19.0}
|
image: ${HASHKEYCHAIN_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${HASHKEYCHAIN_TESTNET_NODE_VERSION:-v1.19.0}
|
||||||
ports:
|
ports:
|
||||||
@@ -140,10 +155,13 @@ services:
|
|||||||
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
- OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log
|
||||||
- OP_NODE_SYNCMODE=execution-layer
|
- OP_NODE_SYNCMODE=execution-layer
|
||||||
- OP_NODE_VERIFIER_L1_CONFS=0
|
- OP_NODE_VERIFIER_L1_CONFS=0
|
||||||
entrypoint: /bin/sh -c 'mkdir -p /config && [ ! -f /config/rollup.json ] && wget -qO /config/rollup.json "https://hashkeychain.s3.ap-southeast-1.amazonaws.com/testnet/rollup.json"; exec op-node "$@"' --
|
entrypoint: [op-node]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- hashkeychain-testnet
|
hashkeychain-testnet-node-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
hashkeychain-testnet:
|
||||||
|
condition: service_started
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user