-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6264cb
commit 95fc0d2
Showing
1 changed file
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
# N3-Docker | ||
|
||
## File Description | ||
## Quick Start | ||
|
||
- **Dockerfile**: Docker build file | ||
- **prepare-node.sh**: Download node and plugins files, update `nodeversion` after NEO release new version node and plugins. | ||
- **start.sh**: Container start script, start node with `screen` | ||
You can use our default deployed images directly, see [n3-docker](https://github.com/neo-ngd/n3-docker/pkgs/container/n3-docker). | ||
The default node contains ApplicationLogs and RpcServer Plugins(see **prepare-node.sh**). | ||
|
||
```shell | ||
docker run -dit --name n3-node -p 10332-10334:10332-10334 ghcr.io/neo-ngd/n3-docker:latest | ||
``` | ||
|
||
## Build example | ||
## Manual Build | ||
|
||
You can change the scripts and build your own docker images. | ||
|
||
```shell | ||
docker build -t neo-cli . | ||
docker run -dit --name n3-node -p 10332-10334:10332-10334 neo-cli | ||
``` | ||
The default node contains ApplicationLogs and RpcServer Plugins(see **prepare-node.sh**). | ||
|
||
## Quick Start | ||
|
||
You can use our default deployed images directly, see [n3-docker](https://github.com/nep-ngd/N3-Docker/pkgs/container/n3-docker). | ||
## File Description | ||
|
||
```shell | ||
docker run -dit --name n3-node -p 10332-10334:10332-10334 ghcr.io/neo-ngd/n3-docker:latest | ||
``` | ||
- **Dockerfile**: Docker build file | ||
- **prepare-node.sh**: Download node and plugins files, update `nodeversion` after NEO release new version node and plugins. | ||
- **start.sh**: Container start script, start node with `screen` |