paulogr / ipfs-gateway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ipfs

+

caddy

---

IPFS-Gateway

The idea behind this project is to make tools/guides/etc to facilitate the process of making it easy to spin up your own ipfs gateway. It heavily relies on features of Caddy.

Features

  • Easy setup via docker or kubernetes
  • Automatic HTTPS via Caddy
  • Mount volume at /data for persistence.

Docker Quickstart

Run this:

docker run -d -e CADDYHOST=example.com -v `pwd`/data:/data -p 80:80 -p 443:443 --name ipfs-gateway cbluth/ipfs-gateway:latest

In order for https to work, your host needs to be accessible on port 443 (hard requirement), and you need to set the CADDYHOST environment variable. If you do not want https, then do not set CADDYHOST.

TODO

  • Option to register ipfs-gateway on a public list
  • Use install.sh to install locally.

About


Languages

Language:Shell 100.0%