Commit fb70e4cd authored by Ori Pomerantz's avatar Ori Pomerantz Committed by Kelvin Fichter

Modified docker-compose-nobuild.yml to use the release candidate

parent 607f4735
# TODO: Prefix all env vars with service name # TODO: Prefix all env vars with service name
# TODO: Allow specifing the image tag to use # TODO: Allow specifing the image tag to use
version: "3" version: "3"
services: services:
# base service builder # base service builder
builder: # builder:
image: ethereumoptimism/builder # image: ethereumoptimism/builder
# build: # build:
# context: .. # context: ..
# dockerfile: ./ops/docker/Dockerfile.monorepo # dockerfile: ./ops/docker/Dockerfile.monorepo
# this is a helper service used because there's no official hardhat image # this is a helper service used because there's no official hardhat image
l1_chain: l1_chain:
image: ethereumoptimism/hardhat image: ethereumoptimism/hardhat
...@@ -19,11 +17,10 @@ services: ...@@ -19,11 +17,10 @@ services:
ports: ports:
# expose the service to the host for integration testing # expose the service to the host for integration testing
- ${L1CHAIN_HTTP_PORT:-9545}:8545 - ${L1CHAIN_HTTP_PORT:-9545}:8545
deployer: deployer:
depends_on: depends_on:
- l1_chain - l1_chain
image: ethereumoptimism/deployer image: ethereumoptimism/deployer:prerelease-0.5.0-rc-1-4d0c922
# build: # build:
# context: .. # context: ..
# dockerfile: ./ops/docker/Dockerfile.deployer # dockerfile: ./ops/docker/Dockerfile.deployer
...@@ -34,19 +31,30 @@ services: ...@@ -34,19 +31,30 @@ services:
# these keys are hardhat's first 2 accounts, DO NOT use in production # these keys are hardhat's first 2 accounts, DO NOT use in production
DEPLOYER_PRIVATE_KEY: "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" DEPLOYER_PRIVATE_KEY: "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"
SEQUENCER_PRIVATE_KEY: "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d" SEQUENCER_PRIVATE_KEY: "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d"
GAS_PRICE_ORACLE_OWNER: "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
# setting the whitelist owner to address(0) disables the whitelist
WHITELIST_OWNER: "0x0000000000000000000000000000000000000000"
L1_FEE_WALLET_ADDRESS: "0x391716d440c151c42cdf1c95c1d83a5427bca52c"
L2_CHAIN_ID: 420
L2_BLOCK_GAS_LIMIT: 11000000
BLOCK_SIGNER_ADDRESS: "0x00000398232E2064F896018496b4b44b3D62751F"
GAS_PRICE_ORACLE_OVERHEAD: "2750"
GAS_PRICE_ORACLE_SCALAR: "1500000"
GAS_PRICE_ORACLE_L1_BASE_FEE: "1"
GAS_PRICE_ORACLE_GAS_PRICE: "1"
GAS_PRICE_ORACLE_DECIMALS: "6"
# skip compilation when run in docker-compose, since the contracts # skip compilation when run in docker-compose, since the contracts
# were already compiled in the builder step # were already compiled in the builder step
NO_COMPILE: 1 NO_COMPILE: 1
ports: ports:
# expose the service to the host for getting the contract addrs # expose the service to the host for getting the contract addrs
- ${DEPLOYER_PORT:-8080}:8081 - ${DEPLOYER_PORT:-8080}:8081
dtl: dtl:
depends_on: depends_on:
- l1_chain - l1_chain
- deployer - deployer
- l2geth - l2geth
image: ethereumoptimism/data-transport-layer image: ethereumoptimism/data-transport-layer:prerelease-0.5.0-rc-1-4d0c922
# build: # build:
# context: .. # context: ..
# dockerfile: ./ops/docker/Dockerfile.data-transport-layer # dockerfile: ./ops/docker/Dockerfile.data-transport-layer
...@@ -66,12 +74,11 @@ services: ...@@ -66,12 +74,11 @@ services:
DATA_TRANSPORT_LAYER__L2_CHAIN_ID: 420 DATA_TRANSPORT_LAYER__L2_CHAIN_ID: 420
ports: ports:
- ${DTL_PORT:-7878}:7878 - ${DTL_PORT:-7878}:7878
l2geth: l2geth:
depends_on: depends_on:
- l1_chain - l1_chain
- deployer - deployer
image: ethereumoptimism/l2geth image: ethereumoptimism/l2geth:prerelease-0.5.0-rc-1-4d0c922
# build: # build:
# context: .. # context: ..
# dockerfile: ./ops/docker/Dockerfile.geth # dockerfile: ./ops/docker/Dockerfile.geth
...@@ -83,25 +90,25 @@ services: ...@@ -83,25 +90,25 @@ services:
ETH1_HTTP: http://l1_chain:8545 ETH1_HTTP: http://l1_chain:8545
ROLLUP_TIMESTAMP_REFRESH: 5s ROLLUP_TIMESTAMP_REFRESH: 5s
ROLLUP_STATE_DUMP_PATH: http://deployer:8081/state-dump.latest.json ROLLUP_STATE_DUMP_PATH: http://deployer:8081/state-dump.latest.json
# used for getting the addresses
URL: http://deployer:8081/addresses.json
# connecting to the DTL # connecting to the DTL
ROLLUP_CLIENT_HTTP: http://dtl:7878 ROLLUP_CLIENT_HTTP: http://dtl:7878
ETH1_CTC_DEPLOYMENT_HEIGHT: 8 ETH1_CTC_DEPLOYMENT_HEIGHT: 8
RETRIES: 60 RETRIES: 60
# no need to keep this secret, only used internally to sign blocks
BLOCK_SIGNER_KEY: "6587ae678cf4fc9a33000cdbf9f35226b71dcc6a4684a31203241f9bcfd55d27"
BLOCK_SIGNER_ADDRESS: "0x00000398232E2064F896018496b4b44b3D62751F"
ports: ports:
- ${L2GETH_HTTP_PORT:-8545}:8545 - ${L2GETH_HTTP_PORT:-8545}:8545
- ${L2GETH_WS_PORT:-8546}:8546 - ${L2GETH_WS_PORT:-8546}:8546
relayer: relayer:
depends_on: depends_on:
- l1_chain - l1_chain
- deployer - deployer
- l2geth - l2geth
image: ethereumoptimism/message-relayer image: ethereumoptimism/message-relayer:prerelease-0.5.0-rc-1-4d0c922
# build: # build:
# context: .. # context: ..
# dockerfile: ./ops/docker/Dockerfile.message-relayer # dockerfile: ./ops/docker/Dockerfile.message-relayer
entrypoint: ./relayer.sh entrypoint: ./relayer.sh
environment: environment:
L1_NODE_WEB3_URL: http://l1_chain:8545 L1_NODE_WEB3_URL: http://l1_chain:8545
...@@ -112,16 +119,15 @@ services: ...@@ -112,16 +119,15 @@ services:
RETRIES: 60 RETRIES: 60
POLLING_INTERVAL: 500 POLLING_INTERVAL: 500
GET_LOGS_INTERVAL: 500 GET_LOGS_INTERVAL: 500
batch_submitter: batch_submitter:
depends_on: depends_on:
- l1_chain - l1_chain
- deployer - deployer
- l2geth - l2geth
image: ethereumoptimism/batch-submitter image: ethereumoptimism/batch-submitter:prerelease-0.5.0-rc-1-4d0c922
# build: # build:
# context: .. # context: ..
# dockerfile: ./ops/docker/Dockerfile.batch-submitter # dockerfile: ./ops/docker/Dockerfile.batch-submitter
entrypoint: ./batches.sh entrypoint: ./batches.sh
env_file: env_file:
- ./envs/batches.env - ./envs/batches.env
...@@ -130,25 +136,23 @@ services: ...@@ -130,25 +136,23 @@ services:
L2_NODE_WEB3_URL: http://l2geth:8545 L2_NODE_WEB3_URL: http://l2geth:8545
URL: http://deployer:8081/addresses.json URL: http://deployer:8081/addresses.json
SEQUENCER_PRIVATE_KEY: "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d" SEQUENCER_PRIVATE_KEY: "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d"
verifier: verifier:
depends_on: depends_on:
- l1_chain - l1_chain
- deployer - deployer
- dtl - dtl
image: ethereumoptimism/l2geth image: ethereumoptimism/l2geth:prerelease-0.5.0-rc-1-4d0c922
deploy: deploy:
replicas: 0 replicas: 0
# build: # build:
# context: .. # context: ..
# dockerfile: ./ops/docker/Dockerfile.geth # dockerfile: ./ops/docker/Dockerfile.geth
entrypoint: sh ./geth.sh entrypoint: sh ./geth.sh
env_file: env_file:
- ./envs/geth.env - ./envs/geth.env
environment: environment:
ETH1_HTTP: http://l1_chain:8545 ETH1_HTTP: http://l1_chain:8545
ROLLUP_STATE_DUMP_PATH: http://deployer:8081/state-dump.latest.json ROLLUP_STATE_DUMP_PATH: http://deployer:8081/state-dump.latest.json
URL: http://deployer:8081/addresses.json
ROLLUP_CLIENT_HTTP: http://dtl:7878 ROLLUP_CLIENT_HTTP: http://dtl:7878
ROLLUP_BACKEND: 'l1' ROLLUP_BACKEND: 'l1'
ETH1_CTC_DEPLOYMENT_HEIGHT: 8 ETH1_CTC_DEPLOYMENT_HEIGHT: 8
...@@ -157,23 +161,21 @@ services: ...@@ -157,23 +161,21 @@ services:
ports: ports:
- ${VERIFIER_HTTP_PORT:-8547}:8545 - ${VERIFIER_HTTP_PORT:-8547}:8545
- ${VERIFIER_WS_PORT:-8548}:8546 - ${VERIFIER_WS_PORT:-8548}:8546
replica: replica:
depends_on: depends_on:
- dtl - dtl
image: ethereumoptimism/l2geth image: ethereumoptimism/l2geth:prerelease-0.5.0-rc-1-4d0c922
deploy: deploy:
replicas: 0 replicas: 0
# build: # build:
# context: .. # context: ..
# dockerfile: ./ops/docker/Dockerfile.geth # dockerfile: ./ops/docker/Dockerfile.geth
entrypoint: sh ./geth.sh entrypoint: sh ./geth.sh
env_file: env_file:
- ./envs/geth.env - ./envs/geth.env
environment: environment:
ETH1_HTTP: http://l1_chain:8545 ETH1_HTTP: http://l1_chain:8545
ROLLUP_STATE_DUMP_PATH: http://deployer:8081/state-dump.latest.json ROLLUP_STATE_DUMP_PATH: http://deployer:8081/state-dump.latest.json
URL: http://deployer:8081/addresses.json
ROLLUP_CLIENT_HTTP: http://dtl:7878 ROLLUP_CLIENT_HTTP: http://dtl:7878
ROLLUP_BACKEND: 'l2' ROLLUP_BACKEND: 'l2'
ROLLUP_VERIFIER_ENABLE: 'true' ROLLUP_VERIFIER_ENABLE: 'true'
...@@ -182,14 +184,13 @@ services: ...@@ -182,14 +184,13 @@ services:
ports: ports:
- ${L2GETH_HTTP_PORT:-8549}:8545 - ${L2GETH_HTTP_PORT:-8549}:8545
- ${L2GETH_WS_PORT:-8550}:8546 - ${L2GETH_WS_PORT:-8550}:8546
# integration_tests: # integration_tests:
# image: ethereumoptimism/integration-tests # image: ethereumoptimism/integration-tests
# deploy: # deploy:
# replicas: 0 # replicas: 0
# build: # build:
# context: .. # context: ..
# dockerfile: ./ops/docker/Dockerfile.integration-tests # dockerfile: ./ops/docker/Dockerfile.integration-tests
# entrypoint: ./integration-tests.sh # entrypoint: ./integration-tests.sh
# environment: # environment:
# L1_URL: http://l1_chain:8545 # L1_URL: http://l1_chain:8545
...@@ -197,14 +198,13 @@ services: ...@@ -197,14 +198,13 @@ services:
# URL: http://deployer:8081/addresses.json # URL: http://deployer:8081/addresses.json
# ENABLE_GAS_REPORT: 1 # ENABLE_GAS_REPORT: 1
# NO_NETWORK: 1 # NO_NETWORK: 1
gas_oracle: gas_oracle:
image: ethereumoptimism/gas-oracle image: ethereumoptimism/gas-oracle:prerelease-0.5.0-rc-1-4d0c922
deploy: deploy:
replicas: 0 replicas: 0
# build: # build:
# context: .. # context: ..
# dockerfile: ./ops/docker/Dockerfile.gas-oracle # dockerfile: ./ops/docker/Dockerfile.gas-oracle
entrypoint: ./gas-oracle.sh entrypoint: ./gas-oracle.sh
environment: environment:
GAS_PRICE_ORACLE_ETHEREUM_HTTP_URL: http://l2geth:8545 GAS_PRICE_ORACLE_ETHEREUM_HTTP_URL: http://l2geth:8545
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment