stack-orchestrator/app/data/stacks/kubo
zramsay a1a4837c89 lil fixes
Former-commit-id: bafdfe6d2a
2023-04-13 07:05:03 -04:00
..
README.md lil fixes 2023-04-13 07:05:03 -04:00
stack.yml run kubo as a stack 2023-04-12 17:36:47 -04:00

Kubo (IPFS)

The Kubo stack currently uses the native IPFS docker image, therefore a single command will do:

laconic-so --stack kubo deploy up

If running locally, visit: http://localhost:5001/webui and explore the functionality of the WebUI.

If running in the cloud, visit IP:5001/webui and you'll likely see this error: "Could not connect to the IPFS API". To fix it:

  1. Get the container name with docker ps:

  2. Go into the container (replace with your container name):

docker exec -it laconic-dbbf5498fd7d322930b9484121a6a5f4-ipfs-1 sh
  1. Enable CORS as described in point 2 of the error message. Copy/paste/run each line in sequence, then run exit to exit the container.

  2. Restart the container:

laconic-so --stack kubo deploy down
laconic-so --stack kubo deploy up
  1. Refresh the IP:5001/webui URL in your browser, you should now be connected to IPFS.