---
title: "Deploy Slink"
description: "Self-hosted image sharing: uploads, private links, short URLs, ShareX"
category: "Storage"
url: https://railway.com/deploy/slink-1
---

# Deploy Slink

Self-hosted image sharing: uploads, private links, short URLs, ShareX

**[Deploy Slink on Railway](https://railway.com/template/slink-1)**

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

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

## Template content

### Slink https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/slink.png

- **Source:** https://github.com/aalfath/slink-railway-template
- **Health check:** /api/health
- **Public domain:** Yes

## Documentation

# Deploy and Host Slink on Railway

Slink is an open-source, self-hosted image sharing service. Upload images from the browser, drag and drop, the API or ShareX, then share them through public, private or password-protected links and short URLs. It also has collections, tags, comments, user accounts with admin approval, API keys and on-the-fly resizing and format conversion.

## About Hosting Slink

Slink ships as one official container that bundles the web UI, the PHP API, background workers and an internal cache, with its data in SQLite files. To host it you need a public HTTPS URL, persistent storage for the databases, keys and uploaded images, and a first admin account. This template builds Slink 1.14.6 (official image, pinned by digest) from a small public wrapper repository. It puts all data on one Railway volume, derives the public URL from the Railway domain, creates the admin with a generated password on first boot, and checks health on `/api/health`. It runs in about 200 MB of RAM, so Railway's Free plan works.

## Common Use Cases

* Private screenshot and image host for ShareX or other upload tools
* Sharing photos with friends or a team through expiring or password-protected links
* A small self-hosted image library with collections and tags instead of a public image host

## Dependencies for Slink Hosting

* Slink's official Docker image (UI, API, workers and internal cache in one container)
* A Railway volume for the SQLite databases, keys and uploaded images

### Deployment Dependencies

* Slink: https://github.com/andrii-kryvoviaz/slink
* Slink documentation: https://docs.slinkapp.io
* Template repository: https://github.com/aalfath/slink-railway-template

### Implementation Details

The template deploys one service, **Slink**, built from `aalfath/slink-railway-template`, with a volume at `/app` and a public domain on port 3000. Nothing needs to be filled in at deploy time.

After deploy:

1. Open the service's **Variables** tab and copy `ADMIN_PASSWORD` (generated, 24 characters).
2. Open the Railway URL and sign in as `admin` (or `admin@slink.local`) with that password. Change the password under **Profile → Account**.
3. Review **Admin → Settings**: public sign-up is open, but new accounts need an admin's approval; uploads are limited to 15 MB.

Optional features (S3 or SMB storage, OIDC single sign-on, guest uploads) are set with the environment variables in Slink's documentation. If you add a custom domain, set `ORIGIN` to `https://YOUR-DOMAIN`.

Updates: the service builds from the template repository. When we bump the Slink version there, Railway shows you an "update available" notice and you choose when to apply it. The changelog in the repository lists breaking changes first. Your volume stays attached across updates.

## Why Deploy Slink 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 Slink 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/slink-1
