This commit is contained in:
Sebastian
2025-03-15 12:53:41 +01:00
parent e7cf69dd9d
commit bc8ef71083

View File

@@ -94,7 +94,7 @@ services:
--metrics.addr=0.0.0.0
--metrics.port=7300
--syncmode=execution-layer
--p2p.priv.path=/shared/op-node_p2p_priv.txt
--p2p.priv.path=/chainconfigs/p2p_node_key_txt
--rollup.config=/chainconfigs/rollup.json
--rollup.load-protocol-versions=true
--rollup.halt=major
@@ -104,6 +104,14 @@ services:
- ./celo/alfajores/:/chainconfigs/
stop_grace_period: 30s
op-celo-alfajores-key-generator:
image: ghcr.io/foundry-rs/foundry
volumes:
- "./celo/alfajores:/config"
entrypoint: sh
command: "[ -f /config/p2p_node_key_txt ] && exit 0 || cast w n | grep -i 'Private Key' | awk -F ': ' '{print $2}' | sed 's/0x//' > /config/p2p_node_key_txt"
volumes:
op-celo-alfajores-fullnode: