---
title: "Deploy LinkStack"
description: "Self-hosted link-in-bio pages with generated admin and durable storage"
category: "CMS"
url: https://railway.com/deploy/linkstack
---

# Deploy LinkStack

Self-hosted link-in-bio pages with generated admin and durable storage

**[Deploy LinkStack on Railway](https://railway.com/template/linkstack)**

- **Creator:** Tom
- **Category:** CMS
- **Total deploys:** 1

## Template content

### linkstack https://raw.githubusercontent.com/monotykamary/railway-template-linkstack/071d89a3af878b26529755e8108dc61927ea3eff/assets/linkstack-icon.png

- **Source:** https://github.com/monotykamary/railway-template-linkstack
- **Health check:** /
- **Public domain:** Yes

## Documentation

# Deploy and Host LinkStack on Railway

## About Hosting LinkStack

LinkStack is a self-hosted, privacy-focused link-in-bio platform for publishing customizable profile pages. This template deploys stable LinkStack 4.8.6 with a generated administrator and persistent SQLite-backed storage.

The public domain belongs to the `linkstack` service. Sign in at `/login` with `LINKSTACK_ADMIN_EMAIL` and the generated `LINKSTACK_ADMIN_PASSWORD`. The administrator is created before the service becomes ready, so the public setup wizard is never exposed.

## Common Use Cases

- Publish a personal link-in-bio page under your own domain
- Host profile pages for a team, community, or organization
- Manage branded links, themes, click counts, QR codes, and vCards
- Replace a hosted link-page service with a self-managed instance

## Dependencies for LinkStack Hosting

### Deployment Dependencies

- One LinkStack service with a persistent volume mounted at `/htdocs`
- Railway-managed HTTPS and a public domain
- Optional external SMTP credentials for users who do not want LinkStack's upstream built-in mail relay

### Implementation Details

The template uses the official multi-architecture LinkStack 4.8.6 image pinned by immutable manifest digest. A small adapter seeds Railway's initially empty volume, runs Laravel migrations, creates the generated administrator, disables registration and debug mode, and then starts upstream Apache on port 80.

`APP_KEY`, `LINKSTACK_ADMIN_PASSWORD`, and the administrator identity variables are generated or configured in Railway. Do not change bootstrap variables until the first deployment has completed. Later changes to those variables do not reset an existing account.

All application files, SQLite data, configuration, uploads, themes, and updater backups persist on the single service volume. Keep one replica; this topology does not support horizontal scaling. Back up the volume before using LinkStack's admin-panel updater.

### Why Deploy LinkStack on Railway?

Railway provides managed HTTPS, generated secrets, persistent storage with backups, Git-driven adapter builds, health checks, and redeploys while LinkStack provides a customizable open-source profile and link-management interface.


## Similar templates

- [Libredesk - Complete Setup](https://railway.com/deploy/libredesk-complete-setup) — Complete self-hosted omnichannel customer support desk.
- [Paperless-ngx](https://railway.com/deploy/paperless-ngx-3) — Paperless-ngx — document management with OCR and full-text search
- [Instatic CMS - Postgres](https://railway.com/deploy/instatic-cms-postgres) — Design, build and manage powerful static sites from state-of-the-art CMS

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