https://github.com/notrustverify/docker-mixnode
Docker image for Nym mixnode
https://github.com/notrustverify/docker-mixnode
docker nym nymtech
Last synced: over 1 year ago
JSON representation
Docker image for Nym mixnode
- Host: GitHub
- URL: https://github.com/notrustverify/docker-mixnode
- Owner: notrustverify
- License: gpl-3.0
- Created: 2023-02-04T17:48:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-24T08:43:17.000Z (about 2 years ago)
- Last Synced: 2024-03-24T09:32:20.746Z (about 2 years ago)
- Topics: docker, nym, nymtech
- Language: Dockerfile
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-mixnode
## How to run
1. Create a `docker-compose.yml` file and replace `WALLET_ADDRESS` with correct value. Check other environment variable [here](README.md#environments-parameters)
```yaml
version: '3'
services:
nym-mixnode:
build: .
restart: unless-stopped
environment:
- WALLET_ADDRESS=
volumes:
- ./nym-data/:/home/user/.nym/
ports:
- 1789:1789
- 1790:1790
- 8000:8000
```
2. **Change the permissions of the nym-data folder `chown -R 10000:10000 nym-data`**
## Environments parameters
| Name | Default | Description |
|------|---------|-------------|
| `WALLET_ADDRESS` | **Mandatory** | wallet address used to bound the mixnode |
| `NAME_MIXNODE` | `docker-mixnode` | mixnode id |
| `ANNOUNCE_HOST`| public ip | announce host used by validator to detect the mixnode |
| `FORCE_INIT` | `false` | force a new init of the mixnode |
## Update the image
Create a new release for example to build image with nym-binaries 1.1.6 create a tag and release called `v1.1.6` and then the [github action](.github/workflows/docker-image.yml) will be automatically build (take some time)
Check [here](https://github.com/nymtech/nym/releases) for the actual Nym release