node-distro/deploy/docker-compose/ipfs.sh
Anatolios Laskaris 5b823aa72e
chore: Add observability to docker-compose (#113)
* Add observability

* Update

* Update

* Fix indent

* Fix again

* Fix againt

* fix

* Add external address

* Fix links

* Fixes

* Fix

* Add IPFS

---------

Co-authored-by: folex <0xdxdy@gmail.com>
2023-03-22 17:59:01 +02:00

7 lines
256 B
Bash

#! /usr/bin/env sh
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]'
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "POST"]'
ipfs config --json Addresses.API '"/ip4/0.0.0.0/tcp/5001"'
ipfs bootstrap rm --all