---
title: "Deploy Filestash"
description: "Web file manager for S3, FTP, SFTP, WebDAV and more"
category: "Storage"
url: https://railway.com/deploy/filestash-1
---

# Deploy Filestash

Web file manager for S3, FTP, SFTP, WebDAV and more

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

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

- **Creator:** zer0person's Projects
- **Category:** Storage
- **Total deploys:** 1

## Template content

### Filestash

- **Image:** machines/filestash:latest
- **Start command:** `sh -c 'export ADMIN_PASSWORD=$(perl -e '"'"'my @c=(".","/",0..9,"A".."Z","a".."z"); my $s=join("",map{$c[int(rand 64)]}1..22); print crypt($ARGV[0], "\$2b\$10\$".$s)'"'"' "$ADMIN_PW"); export APPLICATION_URL=https://$RAILWAY_PUBLIC_DOMAIN; exec /app/filestash'`
- **Public domain:** Yes

## Documentation

# Deploy and Host Filestash on Railway

[Filestash](https://github.com/mickael-kerjean/filestash) is a web file manager that connects to S3, FTP, SFTP, WebDAV, SMB, Google Drive and many other storage backends.

## About Hosting Filestash

This template runs the official `machines/filestash:latest` image with a persistent volume at `/app/data/state` for its configuration. The admin console lives at `/admin`; its password is the generated `ADMIN_PW` variable on the service (hashed at startup).

## Common Use Cases

- Browse and share files on S3, SFTP or FTP from the browser
- Give teams a simple front end for existing storage
- Preview images, video, documents and more

## Dependencies for Filestash Hosting

- One service with a volume; nothing else

### Deployment Dependencies

- [Filestash on GitHub](https://github.com/mickael-kerjean/filestash)
- [Docker image](https://hub.docker.com/r/machines/filestash)

## Why Deploy Filestash on Railway?

Railway gives you a public HTTPS URL, a persistent volume and automatic restarts with no server to maintain. Open `/admin`, sign in with the generated password, then configure your storage backends.


## 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.
- [Garage S3 Storage](https://railway.com/deploy/garage-s3-storage) — Ultra-light S3 server: fast, open-source, plug-and-play.

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