Deploy Filestash

Web file manager for S3, SFTP, WebDAV and more, with a persistent volume

Deploy Filestash

/app/data/state

Deploy and Host Filestash on Railway

Filestash is an open-source web file manager. It puts one browser interface in front of storage you already have: S3 and S3-compatible buckets, SFTP, FTP, WebDAV, SMB, Git, Backblaze B2, Azure Blob, Google Drive, Dropbox and more. It previews images, video, PDFs and documents, creates sharing links, and has an admin console for storage and sign-in.

About Hosting Filestash

This template runs one service built from a public GitHub repo that pins the official machines/filestash image by digest (Filestash v0.6, build of 2026-11-16), so a redeploy never pulls a different version. Every piece of state lives on a Railway volume at /app/data/state: the configuration, the SQLite databases for shares and tags, the search index, plugins, logs and a files folder. An admin password is generated at deploy time and set before the first request, so the setup page is never open to strangers. Railway checks /healthz and restarts the service on failure. The app runs as an unprivileged user.

Common Use Cases

  • A Dropbox-style web UI for existing S3, MinIO, Backblaze B2 or SFTP storage, with no data migration
  • Sharing files and folders with people outside your team through links, with optional passwords and expiry
  • A simple private file drop on the built-in Local storage, kept on the Railway volume

Dependencies for Filestash Hosting

  • One Railway service built from the template repo, with a volume at /app/data/state
  • No database: Filestash keeps its state in files and SQLite on the volume

Deployment Dependencies

Implementation Details

After the deploy finishes:

  1. Copy FILESTASH_ADMIN_PASSWORD from the service's Variables tab.
  2. Open the public URL and log in to Local with that password. Uploads land on the volume.
  3. Open /admin with the same password to add S3, SFTP, WebDAV or other storage, connect LDAP, SAML or OIDC sign-in, or remove the Local connection.
  4. Optional: once your domain is final, set it under Settings, General, host. Filestash then rejects API calls made through any other host name.

The password is applied on every start, so change it in the Variables tab rather than in the console. Updates: new Filestash builds arrive as a pinned-digest change in the template repo. Railway then shows an update notice on your project and you choose when to apply it; your volume is kept.

Why Deploy Filestash 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 Filestash 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
RustFS | (Just Updated) S3 Object Store, Public URL and Keys Set
S3-compatible object store, keys and public URL preset, volume kept

SuperSlowSloth
0
View Template
TimescaleDB
A PostgreSQL-based time-series database for analytics on Railway.

Rakit
1
View Template
NEW
Neo4j 2026.10 Community
Neo4j graph database with APOC, Browser, Bolt TCP proxy and a volume

My Projects
0