modules/ipfs: set API address explicitly
This commit is contained in:
parent
d4daa81867
commit
86fae82ca8
1 changed files with 9 additions and 6 deletions
|
@ -27,12 +27,15 @@ in {
|
||||||
enableGC = true;
|
enableGC = true;
|
||||||
extraFlags = [ "--enable-pubsub-experiment" "--enable-namesys-pubsub" ];
|
extraFlags = [ "--enable-pubsub-experiment" "--enable-namesys-pubsub" ];
|
||||||
settings = {
|
settings = {
|
||||||
Addresses.Swarm = [
|
Addresses = {
|
||||||
"/ip4/0.0.0.0/tcp/4001"
|
Swarm = [
|
||||||
"/ip4/0.0.0.0/tcp/110"
|
"/ip4/0.0.0.0/tcp/4001"
|
||||||
"/ip4/0.0.0.0/udp/4001/quic"
|
"/ip4/0.0.0.0/tcp/110"
|
||||||
"/ip4/0.0.0.0/udp/110/quic"
|
"/ip4/0.0.0.0/udp/4001/quic"
|
||||||
];
|
"/ip4/0.0.0.0/udp/110/quic"
|
||||||
|
];
|
||||||
|
API = "/ip4/127.0.0.1/5001";
|
||||||
|
};
|
||||||
Peering.Peers = peeringPeers;
|
Peering.Peers = peeringPeers;
|
||||||
Bootstrap = (lib.flatten (map (p: map (a: "${a}/p2p/${p.ID}") p.Addrs) peeringPeers)) ++ [
|
Bootstrap = (lib.flatten (map (p: map (a: "${a}/p2p/${p.ID}") p.Addrs) peeringPeers)) ++ [
|
||||||
"/dnsaddr/bootstrap.libp2p.io/p2p/12D3KooWEZXjE41uU4EL2gpkAQeDXYok6wghN7wwNVPF5bwkaNfS"
|
"/dnsaddr/bootstrap.libp2p.io/p2p/12D3KooWEZXjE41uU4EL2gpkAQeDXYok6wghN7wwNVPF5bwkaNfS"
|
||||||
|
|
Loading…
Reference in a new issue