Appearance
Docker
The project includes Dockerfiles for building and deploying your service in containerized environments.
Development Docker
Builds the framework with debug symbols and test tooling.
bash
docker build -f dev.Dockerfile -t my-service:dev .Production Docker
Builds a release-optimized image with the node daemon only.
bash
docker build -f production.Dockerfile -t my-service:latest .Docker Compose
For multi-node setups, use Docker Compose to orchestrate seed and worker nodes.
yaml
services:
seed:
build: .
command: ["--config", "/etc/config/seed.json"]
ports:
- "10000:10000"
- "8080:8080"
node1:
build: .
command: ["--config", "/etc/config/node1.json"]
depends_on: [seed]Build Scripts
| Script | Purpose |
|---|---|
./build-docker-image.sh | Build the framework Docker image. |
./build-docker-test.sh | Build and run tests inside Docker. |
./build-docker-prod.sh | Build the production image. |