Docker
Alternative to using our simple tool tmn, people or companies with existing infrastructure might want to directly run our docker images for more flexibility.
To achieve that, you just need to run our tomochain/node
docker image.
This image runs the Viction go client with some automation added on top.
Tags
Environment | Tag |
---|---|
Testnet |
|
Mainnet |
|
Environment variables
Variable | Required | Default | Example | Description |
---|---|---|---|---|
| False | Random name |
| The name of your asternode |
| False | Random password |
| The password used by the the client to localy encrypt its account |
| False | Random account |
| The private key of the account who will identify the node and receive txs fees |
| True | None |
| The comma separated list of bootnodes. Find them here |
| False | 3 |
| The level of logging (default one should be enough) |
| False | 89 |
| The network id of the join your node is joining. Find them here |
| False | None |
| The password to send data to the stats website |
| False | netstats-server |
| The stats website to report to, regarding to your environment |
| False | 3000 |
| The port used by the stats website (usually 443) |
| False | None |
| Enable reporting transactions via RPC/WS |
Ports
Exposed | Protocol | Description |
---|---|---|
| tcp | Viction client p2p port |
| udp | Viction client p2p port |
| tcp | Blockchain RPC |
| tcp | Blockchain WS |
Filesystem
Path | Content |
---|---|
| Chaindata |
| Accounts |
Examples
docker run
docker-compose.yml
Last updated