This project uses Docker Compose to set up and run the necessary services. Please follow the instructions below to get started.
- Docker
- Docker Compose
-
Clone the repository:
git clone https://github.com/huukhoa1412/nexus cd nexus
-
Open the
docker compose.yml
file and fill in thePROVER_ID
environment variable with your specific ID. You can obtain yourPROVER_ID
by accessing Nexus.version: '3.8' services: app: environment: - PROVER_ID=<your-prover-id>
-
Save the changes to the
docker compose.yml
file.
- Build and start the services:
docker compose up --build
To stop the services, run:
docker compose down
If you encounter any issues, please refer to the documentation or open an issue on the repository.
To scale the nexus-prover
service to 5 instances, run:
docker compose up -d --scale nexus-prover=5