---
title: "Deploy IPFS Gateway & HTTP Proxy"
description: "Hosted IPFS Gateway & HTTP Proxy"
category: "Other"
url: https://railway.com/deploy/PhPjgz
---

# Deploy IPFS Gateway & HTTP Proxy

Hosted IPFS Gateway & HTTP Proxy

**[Deploy IPFS Gateway & HTTP Proxy on Railway](https://railway.com/template/PhPjgz)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/PhPjgz/manifest.json

- **Creator:** rekt
- **Category:** Other
- **Total deploys:** 82

## Template content

### api

- **Source:** https://github.com/o-az/eyepfs

## Documentation

## Hosted IPFS Gateway & HTTP Proxy

### Uses

- [ipfs/kubo](https://github.com/ipfs/kubo)
- [bifrost-gateway](https://github.com/ipfs/bifrost-gateway)
- [bun](https://bun.sh/)

### Purpose

Overcome public IPFS gateway limitations, such as [429 Too Many Requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429), by hosting your own IPFS Gateway and HTTP Proxy.

![429 Example](https://github-production-user-asset-6210df.s3.amazonaws.com/23618431/261382276-f08af99b-fad0-4076-afbf-91d41b428147.png)

### Usage

```sh
git clone https://github.com/o-az/eyepfs.git
```

Build `Dockerfile`:

```sh
docker buildx build . \
  --progress 'plain' \
  --file 'Dockerfile' \
  --tag 'ipfs_gateway_proxy'

# or `bun docker:build`
```

Run the image you just built:

```sh
docker run --rm -it \
  --name 'my_ipfs_gateway_proxy' \
  --env IPFS_GATEWAY_HOST="http://127.0.0.1:8081" \
  --publish '3031:3031' \
  'ipfs_gateway_proxy'

# or `bun docker:run`
```

Give it a nice few seconds then smoke test (fetch image):

```sh
curl --location --request GET \
  --url 'http://127.0.0.1:3031/bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi' \
  --output 'image.jpeg'
```

### Deployment

anywhere that can run a **`Dockerfile`** 🐳

[**`Railway.app`**](https://railway.app/) happens to be the best option

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/PhPjgz?referralCode=eD4laT)


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/PhPjgz
