====== Un conteneur LXC pour Duniter ====== __Objectif :__ Rassembler dans un conteneur LXC un nœud [[duniter]] et d'éventuels outils annexes ( clients [[Césium]] et [[silkaj]] ? [[g1-monit]] ? Scripts de monitoring ? ) # lxc-create -t download -n duniter -- --dist debian --release buster --arch amd64 # cat /var/lib/lxc/duniter/config lxc.start.auto = 1 # Distribution configuration lxc.include = /usr/share/lxc/config/common.conf lxc.arch = linux64 # Container specific configuration lxc.rootfs.path = dir:/var/lib/lxc/duniter/rootfs lxc.uts.name = duniter # Network configuration lxc.net.0.type = veth lxc.net.0.link = lxcbr0 lxc.net.0.flags = up lxc.net.0.hwaddr = 00:16:3e:9e:94:00 # cat /etc/lxc/dnsmasq.conf (...) dhcp-host=duniter,10.0.3.5 # systemctl restart lxc-net # lxc-start duniter # lxc-ls -f NAME STATE AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED duniter RUNNING 1 - 10.0.3.5 - false ===== Installation de Duniter ===== Sources : * [[https://normandie-libre.fr/installer-un-serveur-duniter/|normandie-libre.fr]] ===== Reverse Proxy Nginx ===== Sources : * [[https://tuxicoman.jesuislibre.net/2019/03/configuration-du-serveur-duniter-avec-proxy-nginx.html/comment-page-1|tuxicoman.jesuislibre.net]] * [[http://crazypanda.fr/2018/01/23/duniter-configurer-un-noeud-derriere-un-reverse-proxy-nginx/|crazypanda.fr]] * [[https://forum.duniter.org/t/cesium-nouvelle-version-1-4-17-et-1-5-x-en-test/6706/23|elois sur forum.duniter.org]]