modules/ipfs: listen on correct port

This commit is contained in:
Max Headroom 2022-09-24 13:46:06 +02:00
parent 1deb17fa77
commit a6de8398dd

View file

@ -29,6 +29,7 @@ in
autoMount = true; autoMount = true;
autoMigrate = false; autoMigrate = false;
swarmAddress = "/ip4/0.0.0.0/tcp/${toString ipfsPort}";
inherit apiAddress; inherit apiAddress;
gatewayAddress = "/ip4/${gw.ipv4}/tcp/${gw.portStr}"; gatewayAddress = "/ip4/${gw.ipv4}/tcp/${gw.portStr}";
dataDir = "/srv/storage/ipfs/repo"; dataDir = "/srv/storage/ipfs/repo";