Skip to content

Commit 5e3a6bf

Browse files
committed
set addresses in config struct
Signed-off-by: Oleg <97077423+RobotSail@users.noreply.github.com>
1 parent 2ba980a commit 5e3a6bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

controllers/scripts/ipfs.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ func applyIPFSClusterK8sDefaults(conf *config.Config, storageMax string, peers [
208208
conf.Swarm.ConnMgr.HighWater = 2000
209209
conf.Datastore.BloomFilterSize = 1048576
210210
conf.Datastore.StorageMax = storageMax
211+
conf.Addresses.Swarm = []string{"/ip4/0.0.0.0/tcp/4001", "/ip6/::/tcp/4001"}
212+
211213
conf.Swarm.EnableHolePunching = config.True
212214

213215
conf.Swarm.RelayClient = rc

0 commit comments

Comments
 (0)