-
Notifications
You must be signed in to change notification settings - Fork 31
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
Showing
5 changed files
with
31 additions
and
54 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
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,12 +1,35 @@ | ||
The (Provided Dockerfile)[./Tangle.Dockerfile] is used as a base file to build different Docker images, the standalone node and the collator node. | ||
# Tangle Standalone Docker | ||
|
||
You can build it by executing the following commands: | ||
## Installation Instructions | ||
|
||
**Tangle node** | ||
When connecting to testnet, it will take a few hours/days to completely sync chain. Make sure that your system meets the requirements. | ||
|
||
Execute the following script: | ||
## Run via CLI : | ||
|
||
```sh | ||
./scripts/build-standalone-docker.sh | ||
Make sure to set `<RELEASE_VERSION>` to your desired version. | ||
|
||
You can use the following command to pull the latest image and run from your CLI, remember to set `YOUR-NODE-NAME` | ||
|
||
```bash | ||
docker run --network="host" -v "/var/lib/data" \ | ||
ghcr.io/webb-tools/tangle/tangle:<RELEASE_VERSION> \ | ||
--chain tangle-testnet \ | ||
--name="YOUR-NODE-NAME" \ | ||
--trie-cache-size 0 | ||
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" | ||
``` | ||
|
||
## Run via Docker Compose : | ||
|
||
The docker-compose file will spin up a container running tangle standalone node, but you have to set the following environment variables. | ||
Remember to customize your the values depending on your environment and then copy paste this to CLI. | ||
|
||
```bash | ||
export RELEASE_VERSION=<RELEASE_VERSION> | ||
``` | ||
|
||
After that run : | ||
|
||
```bash | ||
docker compose up -d | ||
``` |
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.