Skip to content

Commit

Permalink
final cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
1xstj committed Jan 25, 2024
1 parent 5ef8585 commit 1997d03
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

push:
branches: [main, update-docker-container]
branches: [main]
tags: ["v*.*.*"]

env:
Expand Down
35 changes: 29 additions & 6 deletions docker/README.md
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
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: "3.7"
services:
tangle:
image: ghcr.io/webb-tools/tangle/tangle:update-docker-container
image: ghcr.io/webb-tools/tangle/tangle:${RELEASE_VERSION}
network_mode: host
entrypoint: /tangle
volumes:
Expand Down
File renamed without changes.
46 changes: 0 additions & 46 deletions docker/tangle-standalone/README.md

This file was deleted.

0 comments on commit 1997d03

Please sign in to comment.