Deploy Filestash
Web file manager for S3, SFTP, WebDAV and more, with a persistent volume
Filestash
Just deployed
/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
- Filestash on GitHub
- Filestash documentation
- Official Docker image
- Template repo, changelog and update notes
Implementation Details
After the deploy finishes:
- Copy
FILESTASH_ADMIN_PASSWORDfrom the service's Variables tab. - Open the public URL and log in to Local with that password. Uploads land on the volume.
- Open
/adminwith the same password to add S3, SFTP, WebDAV or other storage, connect LDAP, SAML or OIDC sign-in, or remove the Local connection. - 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
Filestash
aalfath/filestash-railway-template