---
title: "Deploy Pinry"
description: "Self-hosted image board for saving, tagging and sharing images"
category: "Storage"
url: https://railway.com/deploy/pinry
---

# Deploy Pinry

Self-hosted image board for saving, tagging and sharing images

**[Deploy Pinry on Railway](https://railway.com/template/pinry)**

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

- **Creator:** Agaz Self-Host
- **Category:** Storage

## Template content

### Pinry https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/pinry.png

- **Source:** https://github.com/aalfath/pinry-railway-template
- **Health check:** /api/v2/profile/users/
- **Public domain:** Yes

## Documentation

# Deploy and Host Pinry on Railway

Pinry is an open-source, self-hosted image board, similar to Pinterest. You save images from the web or upload your own, tag them, and organise them into boards shown as a tiled wall that is easy to skim. Pins and boards can be public or private, and there is a REST API and browser extensions for saving.

## About Hosting Pinry

Pinry is a Django application with a Vue web interface. This template runs it as one service built from a public GitHub repo that pins the official `getpinry/pinry` 2.1.13 image by digest and adds the upstream security fixes released after that image. nginx serves the web app and uploaded files on Railway's `PORT` and proxies the API to gunicorn. The SQLite database, uploaded images and thumbnails all live on a Railway volume at `/data`, so they survive redeploys. On first start the service runs its database migrations and creates an admin account with a generated password. Self sign-up is off by default.

## Common Use Cases

* Saving and tagging inspiration images, mood boards and design references
* A private, self-hosted alternative to Pinterest for a person, family or small team
* Collecting screenshots and images from the web with the browser extension or the API

## Dependencies for Pinry Hosting

* The `getpinry/pinry` 2.1.13 Docker image (Django, gunicorn and nginx)
* A Railway volume at `/data` for the SQLite database and uploaded images

### Deployment Dependencies

* Pinry source and docs: https://github.com/pinry/pinry and https://pinry.github.io/pinry/
* Official image: https://hub.docker.com/r/getpinry/pinry
* Template repo: https://github.com/aalfath/pinry-railway-template

### Implementation Details

After the deploy finishes, open the public URL and log in with the `PINRY_ADMIN_USERNAME` (default `admin`) and the generated `PINRY_ADMIN_PASSWORD` shown in the Pinry service's Variables tab. The admin panel is at `/admin/`, where you can add users and change passwords. The admin account is created only once: changing those two variables later does not change it.

Optional variables you can add on the service:

* `PINRY_ALLOW_NEW_REGISTRATIONS=true` lets visitors create their own accounts (off by default).
* `PINRY_PUBLIC=false` hides all pins from visitors who are not logged in.
* `GUNICORN_WORKERS` sets the number of app workers (default 2).

Uploads are limited to 50 MB per file. Back up the `/data` volume before applying template updates.

## Why Deploy Pinry on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Pinry on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.



## Similar templates

- [RustFS | (Just Updated) S3 Object Store, Public URL and Keys Set](https://railway.com/deploy/rustfs-or-just-updated-s3-object-store-p) — S3-compatible object store, keys and public URL preset, volume kept
- [TimescaleDB](https://railway.com/deploy/timescaledb-railway-template) — A PostgreSQL-based time-series database for analytics on Railway.
- [Neo4j 2026.10 Community](https://railway.com/deploy/neo4j-202610-community) — Neo4j graph database with APOC, Browser, Bolt TCP proxy and a volume

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