deploy: regenerate compose from vibe-node main 02930ac0a52b

This commit is contained in:
2026-09-11 06:32:40 +00:00
parent 75e92270c6
commit dd059dfa1e
15 changed files with 59 additions and 69 deletions

View File

@@ -34,12 +34,6 @@ services:
entrypoint: [/bin/sh, -c]
command:
- |
if [ ! -f /jwt/jwt.hex ]; then
echo 'INFO Generating jwt secret'
openssl rand -hex 32 | tr -d '\n' > /jwt/jwt.hex
else
echo 'INFO JWT secret already exists'
fi
if [ ! -f /consensus/ec-secp256k1-non-validator.pem ]; then
echo 'INFO Generating secp256k1 keypair for non-validator'
openssl ecparam -name secp256k1 -genkey -noout -out /consensus/ec-secp256k1-non-validator.pem
@@ -53,7 +47,6 @@ services:
- chains
volumes:
- ${PLASMA_MAINNET_RETH_PRUNED_TRACE_CONSENSUS_DATA:-plasma-mainnet-reth-pruned-trace-consensus}:/consensus:rw
- plasma-mainnet-reth-pruned-trace-jwt:/jwt:rw
logging: *logging-defaults
plasma-mainnet-initialize-consensus:
@@ -87,7 +80,7 @@ services:
volumes:
- ${PLASMA_MAINNET_RETH_PRUNED_TRACE_CONSENSUS_DATA:-plasma-mainnet-reth-pruned-trace-consensus}:/consensus:rw
- ./plasma/mainnet/genesis.json:/node/genesis.json:ro
- plasma-mainnet-reth-pruned-trace-jwt:/jwt:ro
- .jwtsecret:/jwt/jwt.hex:ro
logging: *logging-defaults
plasma-mainnet-initialize-execution:
@@ -115,7 +108,7 @@ services:
volumes:
- ${PLASMA_MAINNET_RETH_PRUNED_TRACE_EXECUTION_DATA:-plasma-mainnet-reth-pruned-trace-execution}:/execution:rw
- ./plasma/mainnet/genesis.json:/node/genesis.json:ro
- plasma-mainnet-reth-pruned-trace-jwt:/jwt:ro
- .jwtsecret:/jwt/jwt.hex:ro
logging: *logging-defaults
plasma-mainnet:
@@ -174,8 +167,8 @@ services:
volumes:
- ${PLASMA_MAINNET_RETH_PRUNED_TRACE_EXECUTION_DATA:-plasma-mainnet-reth-pruned-trace-execution}:/execution:rw
- ./plasma/mainnet/genesis.json:/node/genesis.json:ro
- .jwtsecret:/jwt/jwt.hex:ro
- /slowdisk:/slowdisk
- plasma-mainnet-reth-pruned-trace-jwt:/jwt:ro
healthcheck:
test: [CMD, bash, -c, exec 6<> /dev/tcp/localhost/8545 && exec 6<> /dev/tcp/localhost/8551]
interval: 10s
@@ -207,7 +200,8 @@ services:
entrypoint: [/bin/bash, -c]
command:
- |
sed 's|http://plasma-mainnet:8551|http://plasma-mainnet:8551|g' /config/non-validator.toml > /tmp/non-validator.toml
# Rewrite engine_api_url to this compose service (mainnet/testnet tomls ship chain-specific hosts).
sed -E 's|http://[^[:space:]/"]+:8551|http://plasma-mainnet:8551|g' /config/non-validator.toml > /tmp/non-validator.toml
exec plasma-cli observer \
--config-path /tmp/non-validator.toml \
--no-color \
@@ -232,7 +226,7 @@ services:
- ./plasma/mainnet/identities:/node/identities:ro
- ./plasma/mainnet/keys:/node/keys:ro
- ./plasma/mainnet/non-validator.toml:/config/non-validator.toml:ro
- plasma-mainnet-reth-pruned-trace-jwt:/jwt:ro
- .jwtsecret:/jwt/jwt.hex:ro
logging: *logging-defaults
labels:
- prometheus-scrape.enabled=true
@@ -241,7 +235,6 @@ services:
volumes:
plasma-mainnet-reth-pruned-trace-consensus:
plasma-mainnet-reth-pruned-trace-execution:
plasma-mainnet-reth-pruned-trace-jwt:
x-upstreams:
- id: $${ID}