Simplest way to run the project locally is to use Docker Compose.
The examples use Compose V2
- Build local image for Adria/MuSig
docker compose \
-f ./cmd/spire/docker-compose.yaml \
-f ./cmd/ghost/docker-compose.yaml \
-f ./cmd/spectre/docker-compose.yaml \
-f ./cmd/gofer/docker-compose.yaml \
build
- Run a local set of containers
Note, the
network_mode:
is set tohost
for the provideddocker-compose.yaml
.
docker compose up
# or
docker compose up -d \
&& docker compose logs -f # to keep the containers running after exiting the logs
- Debugging with breakpoints
Stop one of the containers
docker command stop <service>
and run the corresponding app in a debugger using
the same environment variables as in the docker-compose.yaml
file.