This is a collection of docker compose and scripts to run the Golem Base L3 development stack.
- Docker
- Go (chain only)
- Rust (chain only)
- Foundry (chain only)
Copy .env.example
to .env
:
cp .env.example .env
Available components are defined in .env
file under COMPOSE_PROFILES
variable:
backend
- blockscout backendfrontend
- blockscout frontendservices
- blockscout rs services (e.g. golem-base-indexer)
Before changing components in .env
, you need to stop the containers.
See also envs/*
for configuration of each service. Make sure you harden CORS config for production deployments - these samples open it for all origins.
Init submodules:
# git submodule update --init --recursive
make sub-init
Run chain:
# bash ./golem-base-dbchains/start-dbchain.sh
make chain-run
Run stack:
# docker compose up -d
make run