clouvider-fra01: add ipfs
This commit is contained in:
parent
d20dd06aaf
commit
44f4e9a023
1 changed files with 12 additions and 0 deletions
|
@ -98,6 +98,9 @@ in {
|
||||||
ipv6.addresses = [{ address = "2a0f:93c0:0:22::2"; prefixLength = 126; }];
|
ipv6.addresses = [{ address = "2a0f:93c0:0:22::2"; prefixLength = 126; }];
|
||||||
};
|
};
|
||||||
firewall.allowPing = true;
|
firewall.allowPing = true;
|
||||||
|
firewall.allowedTCPPorts = [
|
||||||
|
4001 # ipfs
|
||||||
|
];
|
||||||
};
|
};
|
||||||
my.ip.tailscale = "100.75.142.119";
|
my.ip.tailscale = "100.75.142.119";
|
||||||
|
|
||||||
|
@ -174,5 +177,14 @@ in {
|
||||||
virtualHosts = vhosts;
|
virtualHosts = vhosts;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.ipfs = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig = {
|
||||||
|
Discovery.MDNS.Enabled = false;
|
||||||
|
Swarm.DisableNatPortMap = true;
|
||||||
|
};
|
||||||
|
dataDir = "/store/ipfs";
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "20.09";
|
system.stateVersion = "20.09";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue