No Description

lushdog e6700f3fc8 fix: download 6 months ago
.env.example 1f9ebfb9a7 default nodeid 7 months ago
.gitignore 3f82390763 init 8 months ago
Dockerfile e6700f3fc8 fix: download 6 months ago
README.md 59de854bce update readme 7 months ago
build.sh babecd24fc fix 7 months ago
docker-compose.yml 9a8c1fc0f6 更新 'docker-compose.yml' 7 months ago
entrypoint.sh 6c1f2c0a2b headless模式 7 months ago
generate_services.sh 18bce31d98 生成部署多个容器 7 months ago

README.md

Nexus Network Docker

这个 Docker 镜像用于运行 Nexus Network 节点。

配置

创建 .env 文件

cp .env.example .env

修改.env

NODE_ID: 后台创建的id

MAX_THREADS: 最大prover数量,最大为8,超过8也是启动8个prover

运行多个容器

bash generate_services.sh

使用 docker-compose 运行

docker compose up -d

查看日志

docker compose logs nexus-network -f --tail 100

MacOS

本地 build

bash build.sh

运行

docker compose up -d