You should have everything needed to start a node. Please do not go online yet, you still have to rotate your session keys as mentioned in the documentation (that could be improved). And you have to become smith by getting smith certified if you are not smith in the genesis.
Here are the @smiths-GDev members who did not yet (), did (RPC only ), did (smith ) set up a node:
I read it, and I don’t get it. The docker-compose file has 2 services (rpc and validator), but the nginx config example has only one server.
Also I’d like to know if the P2P port could be managed via the reverse proxy. It is not the case in the example. As I understand the libp2p documentation on addressing I could use something like this as the public addr:
I am struggling to expose my rpc node publicly (wss://vit.fdn.org/ws) with duniter v2s and nginx in docker)
With the provided docker-compose for duniter and the nginx config example, as is.
By default, duniter listen to localhost (it refer to the duniter container).
But in nginx config I can not use localhost, as it refer to the nginx container.
Can somebody with a working nginx/duniter rpc node can show me his docker-compose and nginx config ?
Duniter validator is listening on port 30334, there is no need for public address
--public-addr <PUBLIC_ADDR>...
The public address that other nodes will use to connect to it.
This can be used if there's a proxy in front of this node
I have sometimes unexpected power failure from the power provider, so I will study how to become smith and if I have too much failures, may be I will not stay smith (my server is at home)…
I have opened 9615 port for Prometheus if you need it. Tell me if it works.
The goal is to learn what a smith need to know to be able to share with other smith and to make sure that the smith licence is fine. There is not pb if ĞDev is not very stable as it is a dev network. We will test stability with ǦTest later.
I do not know prometheus monitoring, I have to learn that.
Duniter validator is listening on default port 30333 actually. And the docker-compose file maps it to the host’s port 30334. How is it that no public addr is needed while one is provided for the RPC service which is mapped to the default 30333 port on the host?
Interesting, I know nothing about Docker. Is it supposed to deal with processor architecture issues ? Try building Duniter on your machine, it should work.
Now my instance starts but spits this error every 2 ou 3 seconds:
2023-01-03 20:39:33 💔 The bootnode you want to connect provided a different peer ID than the one you expect: `12D3KooW9v5WsP38qU1kmafvA4CDw2vzYnFoWtdUqwonZtJK597r` with `12D3KooWMYJzk1FfBZjEAuEvwUnH2Luj5Bq4ouLX1tgZBPpFegaB`:`Dialer { address: "/dns/gdev.p2p.legal/tcp/30334/p2p/12D3KooW9v5WsP38qU1kmafvA4CDw2vzYnFoWtdUqwonZtJK597r", role_override: Dialer }`.
12D3KooWMYJzk1FfBZjEAuEvwUnH2Luj5Bq4ouLX1tgZBPpFegaB
is the current @poka smith bootnode 12D3KooW9v5WsP38qU1kmafvA4CDw2vzYnFoWtdUqwonZtJK597r
comes from an other genesis (the one in master branch)
If you are building Duniter yourself, you have to use release/poka-chainspec-gdev5 branch.