Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple IPWB from IPFS #349

Open
ibnesayeed opened this issue Dec 22, 2017 · 3 comments
Open

Decouple IPWB from IPFS #349

ibnesayeed opened this issue Dec 22, 2017 · 3 comments

Comments

@ibnesayeed
Copy link
Member

ibnesayeed commented Dec 22, 2017

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.

@machawk1
Copy link
Member

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

@ibnesayeed
Copy link
Member Author

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.

@machawk1
Copy link
Member

Related effort/feature suggestion: ipfs/ipfs-desktop#602

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants