ipwb icon indicating copy to clipboard operation
ipwb copied to clipboard

Decouple IPWB from IPFS

Open ibnesayeed opened this issue 8 years ago • 3 comments

Currently, IPWB stores configs in the IPFS config file rather that its own config file (#234). This is particularly problematic when trying to Dockerize it or running IPFS on a different host. In order to store certain IPWB configs, IPWB tries to locate the IPFS config file, which may not be locally available on the same host/container.

This ticket is to track not just the config file coupling, but any other changes that are required to make the two components run independently. In order for IPWB to work, it should only check whether an IPFS endpoint (as configured via configs/env vars) is responding.

ibnesayeed avatar Dec 22 '17 16:12 ibnesayeed

@ibnesayeed I believe we ought to outline the dynamics and some use cases of using a remote IPFS daemon from ipwb.

machawk1 avatar Dec 23 '17 22:12 machawk1

If it has to work beyond a toy example of small sample WARCs on any serious scale with persistence, a separate IPFS server is almost going to be necessary to have. This current one to one coupling (one instance of IPFS running on the same host with one instance of IPWB) is not practical beyond testing and playing with the system. The system should work in a way that many IPWB instances can be connected to a single IPFS server or multiple IPFS servers exchanging data with each other, of which some might be serving their own IPWB instances.

ibnesayeed avatar Dec 24 '17 00:12 ibnesayeed

Related effort/feature suggestion: https://github.com/ipfs-shipyard/ipfs-desktop/issues/602

machawk1 avatar Jan 26 '18 22:01 machawk1