Railway

Deploy Bookmark Manager

Self-hosted bookmarking, reading, and web archiving platform

Deploy Bookmark Manager

Just deployed

/var/lib/postgresql/data

Just deployed

/meili_data

Deploy and Host Bookmark Manager on Railway

Bookmark Manager is a self-hosted application for saving, organizing, and preserving web content in one place. It helps individuals and teams build searchable collections of bookmarks while archiving webpages with screenshots, PDFs, and readable text. With collaboration features, tagging, and powerful search, it provides a reliable knowledge base that remains accessible even when original webpages change or disappear.

Manager

About Hosting Bookmark Manager

Hosting Bookmark Manager on Railway provides a fully managed environment for running the application alongside its required services. Railway deploys the application, provisions networking, and automatically provides HTTPS for secure access. This template includes a PostgreSQL database for persistent application data and Meilisearch for fast full-text search across archived content. Archived webpages, screenshots, and PDFs require persistent storage, which Railway Volumes provide. Internal service networking securely connects the application to PostgreSQL and Meilisearch without additional configuration. As your bookmark library grows, Railway makes it easy to scale compute resources and storage while reducing operational overhead.

1

Common Use Cases

  • Personal web archiving for preserving articles, tutorials, and online resources.
  • Team knowledge bases with shared collections for documentation, research, and project references.
  • Research and content curation with searchable archives, annotations, and organized bookmark collections.

Dependencies for Bookmark Manager Hosting

DependencyPurpose
PostgreSQLStores users, collections, bookmarks, and application data.
MeilisearchProvides fast full-text search across archived content.
Railway VolumeStores archived webpages, screenshots, and PDF captures persistently.

Deployment Dependencies

ResourceLink
Official Documentationhttps://docs.linkwarden.app
GitHub Repositoryhttps://github.com/linkwarden/linkwarden
Container Imagehttps://github.com/linkwarden/linkwarden/pkgs/container/linkwarden

Implementation Details

Docker

The application uses the official container image:

ghcr.io/linkwarden/linkwarden:latest

No custom Docker configuration is required when deploying this Railway template.

Public Networking

SettingValue
Proxy TypeHTTP Proxy
Target Port3000

Generate a Railway domain from Settings → Networking → Generate Domain to expose the application publicly.

Environment Variables

VariableRequiredDescription
NEXTAUTH_SECRETYesSecret used to sign NextAuth.js sessions.
NEXTAUTH_URLYesPublic URL of your Railway deployment.
DATABASE_URLYesPostgreSQL connection string. Use the Railway PostgreSQL reference variable.
MEILI_HOSTYesInternal URL of the Meilisearch service.
MEILI_MASTER_KEYYesAuthentication key shared with Meilisearch.
STORAGE_FOLDERYesDirectory used to store archived files.
NEXT_PUBLIC_DISABLE_REGISTRATIONNoSet to true after initial setup to disable new account registration.

Example:

NEXTAUTH_SECRET=your-secret
NEXTAUTH_URL=https://your-app.up.railway.app
DATABASE_URL=${{Postgres.DATABASE_URL}}
MEILI_HOST=http://meilisearch:7700
MEILI_MASTER_KEY=your-meili-key
STORAGE_FOLDER=/data/data
NEXT_PUBLIC_DISABLE_REGISTRATION=true

Generate a strong value for NEXTAUTH_SECRET. Configure NEXTAUTH_URL using your Railway-generated public domain after deployment.

Persistent Storage

Bookmark Manager requires persistent storage for archived webpages, screenshots, and PDF files.

Add a Railway Volume:

  1. Open the Bookmark Manager service.
  2. Navigate to Settings → Volumes.
  3. Select Add Volume.
  4. Mount the volume at:
/data/data

This ensures archived content persists across deployments and restarts.

Meilisearch should also use a persistent volume for its search indexes if included in the template.

Database

This template requires PostgreSQL.

  • Add a Railway PostgreSQL service.
  • Use the Railway reference variable for DATABASE_URL.
  • The application automatically connects using the provided connection string.

Meilisearch should be deployed as a separate Railway service and configured using MEILI_HOST and MEILI_MASTER_KEY.

Build & Start

The application runs from the official Docker image.

No custom build or start commands are required.

Accessing the Application

After deployment:

  1. Generate a Railway public domain.
  2. Open the generated URL.
  3. Register the first user account.
  4. The first registered user becomes the server administrator.
  5. Create collections and begin saving bookmarks.

For production deployments, set:

NEXT_PUBLIC_DISABLE_REGISTRATION=true

after creating the administrator account to prevent additional public registrations.

Why Deploy Bookmark Manager 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 Bookmark Manager 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

More templates in this category

View Template
SigOnly
Deploy SigNoz with a working demo app & config in one click

zoeyjones
21
View Template
Unwrapped Spotify Music Stats
Unwrapped Spotify Music Stats, Estatísticas de músicas disponíveis

Jorge Henrique
1
View Template
OpenTelemetry Collector and Backend
OpenTelemetry Collector with Backend Stack

Melissa
110