Use IPFS for hosting glob files for Urbit (#677)

* Use IPFS for hosting glob files for Urbit

* Add env configuration for IPFS endpoints to instructions

* Make ship pier dir configurable in remote deployment script

* Update remote deployment script to accept glob hash arg
This commit was merged in pull request #677.
This commit is contained in:
prathamesh0
2023-12-05 15:00:03 +05:30
committed by GitHub
parent 2dd54892a1
commit f27da19808
7 changed files with 66 additions and 66 deletions
@@ -41,10 +41,11 @@ network:
ports:
urbit-fake-ship:
- '8080:80'
uniswap-glob-host:
- '3000:3000'
uniswap-gql-proxy:
- '4000:4000'
ipfs-glob-host:
- '8081:8080'
- '5001:5001'
...
```
@@ -74,6 +75,16 @@ Inside the deployment directory, open the file `config.env` and add variable for
# Set this to GQL proxy server endpoint for uniswap app
# (Eg. http://localhost:4000/graphql)
CERC_UNISWAP_GQL=
# Optional IPFS endpoints:
# IFPS endpoint to host the glob file on
# (Default: http://ipfs-glob-host:5001 pointing to in-stack IPFS node)
CERC_IPFS_GLOB_HOST_ENDPOINT=
# IFPS endpoint to fetch the glob file from
# (Default: http://ipfs-glob-host:8080 pointing to in-stack IPFS node)
CERC_IPFS_SERVER_ENDPOINT=
```
## Start the stack