haveno/seednode/README.md

23 lines
790 B
Markdown
Raw Normal View History

# Haveno Seednode
2021-05-05 00:20:01 +00:00
Currently a seednode can be deployed using the Dockerfile in the `docker/` folder.
2021-05-05 00:20:01 +00:00
Make sure you have Tor installed in your host environment (`apt install tor`), then navigate to the `docker` folder and from there build the Docker image:
2021-05-05 00:20:01 +00:00
```
docker build -t haveno-seednode .
2021-05-05 00:20:01 +00:00
```
Then create a container from it:
2021-05-05 00:20:01 +00:00
```
docker run -it -p 9050 -p 2002 --restart unless-stopped --name haveno-seednode haveno-seednode
2021-05-05 00:20:01 +00:00
```
After the seednode is deployed, you'll see a message similar to this in the log:
2021-05-05 00:20:01 +00:00
```
[TorControlParser] INFO o.b.n.tor.Tor: Hidden Service 3jrnfkgkoh463zic54csvntz5w62dm2zno54c3c6jgvusafosqrgmnqd.onion has been announced to the Tor network.
2021-05-05 00:20:01 +00:00
```
Note the onion address. It will be needed by the Haveno instances wanting to connect to your seednode.