Deploy Pinry
Self-hosted image board for saving, tagging and sharing images
Just deployed
/data
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/pinry2.1.13 Docker image (Django, gunicorn and nginx) - A Railway volume at
/datafor 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=truelets visitors create their own accounts (off by default).PINRY_PUBLIC=falsehides all pins from visitors who are not logged in.GUNICORN_WORKERSsets 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.
Template Content
