Railway

Deploy PDF Editor - 50+ Tools | Self Host

Edit, sign, merge, split, and convert PDFs fast with String PDF.

Deploy PDF Editor - 50+ Tools | Self Host

stirlingtools/stirling-pdf:latest-ultra-lite

stirlingtools/stirling-pdf:latest-ultra-lite

Just deployed

Deploy and Host PDF Editor on Railway

PDF Editor - 50+ Tools -Self Host is a powerful web-based application for viewing, editing, converting, organizing, and securing PDF documents. It provides over 50 built-in PDF tools, including merging, splitting, compressing, signing, watermarking, page management, metadata editing, and file conversion, making it an ideal self-hosted solution for individuals, businesses, and privacy-focused teams.

About Hosting PDF Editor

Hosting PDF Editor - 50+ Tools -Self Host on Railway allows you to deploy a fully featured PDF processing platform without managing servers or infrastructure. The application runs inside a Docker container while Railway automatically handles deployments, HTTPS, networking, logging, and monitoring. It can operate as a standalone service for most deployments, with optional support for authentication and advanced features through additional configuration. Railway Volumes can be attached to retain application data and backups across deployments when needed. With automatic domain generation and scalable infrastructure, Railway makes it simple to host a secure, self-hosted PDF editor that is accessible from anywhere.

Common Use Cases

  • Self-hosted PDF editing with 50+ built-in document tools.
  • Secure document conversion, compression, and file management.
  • Internal document processing for businesses, organizations, and teams.

Dependencies for PDF Editor

  • Railway Volume (Optional for persistent data and backups)
  • Database (Optional for authentication, backups, and advanced features)

Deployment Dependencies

ResourceLink
Official Documentationhttps://docs.stirlingpdf.com
GitHub Repositoryhttps://github.com/Stirling-Tools/Stirling-PDF
Docker Imagehttps://hub.docker.com/r/stirlingtools/stirling-pdf

Implementation Details

Docker

Deploy using the official Docker image:

stirlingtools/stirling-pdf:latest-ultra-lite

Railway pulls the image directly, so no custom build or start commands are required.

Public Networking

SettingValue
Proxy TypeHTTP Proxy
Target Port8080

Generate a public domain from Railway → Service → Settings → Networking → Generate Domain.

Environment Variables

VariableRequiredDescription
UI_APPNAMENoApplication name displayed throughout the interface.
UI_APPNAMENAVBARNoName displayed in the navigation bar.
METRICS_ENABLEDNoEnables application metrics.
SYSTEM_MAXFILESIZENoMaximum upload size in MB.
SYSTEM_DEFAULTLOCALENoDefault application language.
DOCKER_ENABLE_SECURITYRecommendedEnables additional security features.
SECURITY_ENABLELOGINNoEnables user authentication.
SECURITY_INITIALLOGIN_USERNAMERequired when login is enabledInitial administrator username.
SECURITY_INITIALLOGIN_PASSWORDRequired when login is enabledInitial administrator password.
SECURITY_CUSTOMGLOBALAPIKEYOptionalGlobal API key for securing API access.

Example configuration:

UI_APPNAME=PDF Editor
UI_APPNAMENAVBAR=PDF Editor
METRICS_ENABLED=true
SYSTEM_MAXFILESIZE=100
SYSTEM_DEFAULTLOCALE=en-US

DOCKER_ENABLE_SECURITY=true
SECURITY_ENABLELOGIN=false

SECURITY_INITIALLOGIN_USERNAME=admin
SECURITY_INITIALLOGIN_PASSWORD=your-secure-password

SECURITY_CUSTOMGLOBALAPIKEY=your-random-api-key

Replace the example password and API key with secure values before deploying to production.

Persistent Storage

Persistent storage is optional. If you want to retain application data across deployments, add a Railway Volume from Settings → Volumes. Volumes are recommended for backups, persistent configuration, and application data.

Database

A database is not required for standard deployments. If you enable authentication, backups, or other advanced features, add the appropriate database service to your Railway project and configure the required connection variables using Railway Reference Variables.

Accessing the Application

After deployment, generate a Railway Domain from Settings → Networking and open the generated URL in your browser. If login is enabled, sign in using the administrator credentials configured through the environment variables.

Why Deploy PDF Editor 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 PDF Editor 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

stirlingtools/stirling-pdf:latest-ultra-lite

stirlingtools/stirling-pdf:latest-ultra-lite

More templates in this category

View Template
Rocky Linux
[Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
21
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
51