2.2.2 • Published 3 years ago
@backbonedao/network-node v2.2.2
Network Node
Setup
Network node requires SSL certificates for WSS connections. We have built-in generation of free letsencrypt.org certificates and they are renewed automatically, but you need to set it up.
Note: BackboneDAO does not receive your information, only letsencrypt
Docker
docker run -v ${HOME}/.backbone/certs:/app/certs -it ghcr.io/backbonedao/network-node npm run setup --email=your@email.com --domain=node.yourdomain.comCloned repo
npm run setup --email=your@email.com --domain=node.yourdomain.comSSL certificates storage
The above command creates ~/.backbone/certs directory and all letsencrypt related configs are stored there. If you ever need to switch to another server, copy this directory over and all your existing certificates continue working.
Run
Docker
docker run -p 80:80 -p 1337:1337 -p 19302:19302/udp -p 3478:3478/udp --restart=unless-stopped -v ${HOME}/.backbone/certs:/app/certs -dt ghcr.io/backbonedao/network-nodeCloned repo
node server.js