---
title: "Deploy Filestash"
description: "Web file manager for S3, SFTP, WebDAV and more, with a persistent volume"
category: "Storage"
url: https://railway.com/deploy/filestash-2
---

# Deploy Filestash

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

**[Deploy Filestash on Railway](https://railway.com/template/filestash-2)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/filestash-2/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** Storage

## Template content

### Filestash https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/filestash.png

- **Source:** https://github.com/aalfath/filestash-railway-template
- **Health check:** /healthz
- **Public domain:** Yes

## Documentation

# 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](https://github.com/mickael-kerjean/filestash)
* [Filestash documentation](https://www.filestash.app/docs/)
* [Official Docker image](https://hub.docker.com/r/machines/filestash)
* [Template repo, changelog and update notes](https://github.com/aalfath/filestash-railway-template)

### 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.



## Similar templates

- [RustFS | (Just Updated) S3 Object Store, Public URL and Keys Set](https://railway.com/deploy/rustfs-or-just-updated-s3-object-store-p) — S3-compatible object store, keys and public URL preset, volume kept
- [TimescaleDB](https://railway.com/deploy/timescaledb-railway-template) — A PostgreSQL-based time-series database for analytics on Railway.
- [Neo4j 2026.10 Community](https://railway.com/deploy/neo4j-202610-community) — Neo4j graph database with APOC, Browser, Bolt TCP proxy and a volume

Open this page in a browser: https://railway.com/deploy/filestash-2
