Skip to content

Commit

Permalink
IPFS node v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bcessa committed Jun 7, 2022
1 parent c7fc194 commit 232bf20
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion images/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ deployment-images:
docker build --platform linux/amd64 -t ghcr.io/bryk-io/algod:stable -f algod/Dockerfile algod/.
docker build --platform linux/amd64 -t ghcr.io/bryk-io/algod:beta -f algod/Dockerfile --build-arg channel=beta algod/.
docker build --platform linux/amd64 -t ghcr.io/bryk-io/algod-indexer:2.10.0 -f algod-indexer/Dockerfile algod-indexer/.
docker build --platform linux/amd64 -t ghcr.io/bryk-io/ipfs:0.11.0 -f ipfs/Dockerfile ipfs/.
docker build --platform linux/amd64 -t ghcr.io/bryk-io/ipfs:0.12.2 -f ipfs/Dockerfile ipfs/.
4 changes: 2 additions & 2 deletions images/ipfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM debian:10

ENV DEBIAN_FRONTEND noninteractive

ARG version=0.11.0
ARG version=0.12.2

# Install node tools
RUN \
Expand All @@ -28,7 +28,7 @@ COPY run.sh /var/run/ipfs.sh
# curl https://ipfs.io/api/v0/get/${CID} | tar -xf -
# Install locally:
# ipfs add -r --cid-version=1 build
COPY webui-v2.13.0.zip /root/webui.zip
COPY webui-v2.15.0.zip /root/webui.zip

# Node storage
VOLUME /var/lib/ipfs
Expand Down
7 changes: 1 addition & 6 deletions images/ipfs/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,10 @@ if [ ! -f /var/lib/ipfs/config ]; then
ipfs init --profile server
fi

# CORS domains ca be provided as a comma separated list of
# string. If no value is provided, a single "*" entry is used
# by default.
IPFS_API_CORS=${IPFS_API_CORS:-'"*"'}

# Make sure API and Gateway are accessible outside the container.
ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001
ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8080
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '[${IPFS_API_CORS}]'
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]'
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "POST"]'


Expand Down
Binary file added images/ipfs/webui-v2.15.0.zip
Binary file not shown.

0 comments on commit 232bf20

Please sign in to comment.