Kubo private network configuration

This commit is contained in:
boyreau 2026-09-26 11:38:15 +02:00
commit db5a737339
2 changed files with 38 additions and 8 deletions

View file

@ -17,14 +17,44 @@ in
];
settings = {
Addresses.API = "/ip4/127.0.0.1/tcp/5001";
# Private-network (mesh network where everybody knows everybody) specific configuration
# Not available in privated networks
AutoTLS.Enabled = false;
AutoConf.Enabled = false;
Provide.Enabled = false;
Swarm.AddrFilters = [
];
Swarm.Transports.Network.Websocket = false;
# Let's rely on tailscale MagicDNS
DNS.Resolvers."." = "https://taila38157.ts.net";
# We're in a private/closed network, no need to hide ourselves
Addresses.NoAnnounce = [ ];
# Not needed since everybody knows everybody through peers.
Routing.type = "none";
Routing.DelegatedRouters = [ ];
IPNS.DelegatedPublishers = [ ];
# Peers that I want to constantly connect to.
# Less battery-intensive than the bootstrap nodes.
Bootstrap = [ ];
Peering.Peers = [
{
ID = "12D3KooWLW9Pms1H8KHMVnXTu8LtmnU29XDwvNmDbirGtDyKeiB6";
Addrs = [ "/dns4/zomelab.taila38157.ts.net/tcp/4001" ];
}
{
ID = "12D3KooWFVC9GmZqcYQNRiLfAmN8PjzdGE2yfMZZbbFpRaMtAKis";
Addrs = [ "/dns4/niczos.taila38157.ts.net/tcp/4001" ];
}
];
# End of private-network configuration
Discovery.MDNS.Enabled = false;
Plugins.Plugins.telemetry.Config.Mode = "off";
Datastore.StorageMax = "10G";
Bootstrap = [
"/dnsaddr/zomelab/p2p/12D3KooWLW9Pms1H8KHMVnXTu8LtmnU29XDwvNmDbirGtDyKeiB6"
"/dnsaddr/niczos/p2p/12D3KooWFVC9GmZqcYQNRiLfAmN8PjzdGE2yfMZZbbFpRaMtAKis"
# "/dnsaddr/pepere/p2p"
];
};
};
# Private network key