Skip to content

Commit

Permalink
Fix dockerized ipfs nodes unreachable
Browse files Browse the repository at this point in the history
The previous `server` profile disables localhost discovery. According to [docs](https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#profiles) this is for when running a server but breaks things when dockerized. Change should make the ipfs node reachable over the docker network and also from outside.

See #495
  • Loading branch information
kuzdogan committed Sep 7, 2021
1 parent 20e8492 commit bf7bbab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/ipfs/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

ipfs init --profile server
ipfs init
ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8080
ipfs config --json Experimental.ShardingEnabled true

Expand Down

0 comments on commit bf7bbab

Please sign in to comment.