etherlink/script: add a sequencer docker compose + init script
Context
Add an etherlink docker compose + init script. This docker compose is still quite simple and should be improved over time.
There is multiple missing optimisation that could be done, and it's certainly not up to the latest standard.
In particular the compose file could be split into sub compose to have a modular design reusable for generic smart rollup.
Manually testing the MR
cd etherlink/scripts/docker-compose/
# modify the env variable as you please, for example to run the test on dailynet:
export EVM_CHAIN_ID=$(date +%Y%m%d)
export TZNETWORK=https://teztnets.com/dailynet-2024-01-15
export SNAPSHOT_URL=""
export ENDPOINT=https://rpc.dailynet-2024-01-15.teztnets.com
export ROLLUP_NODE_MODE=operator
export OCTEZ_TAG=master_48c02b08_20240112172822
./init.sh init_octez_node
./init.sh init_rollup
docker-compose up
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rst
for the protocol and the environment,CHANGES.rst
at the root of the repository for everything else). -
Select suitable reviewers using the Reviewers
field below. -
Select as Assignee
the next person who should take action on that MR
Edited by Sylvain R.