---
title: "Deploy ZFile"
description: "Online file browser for S3, OneDrive, FTP and local storage"
category: "Storage"
url: https://railway.com/deploy/zfile-1
---

# Deploy ZFile

Online file browser for S3, OneDrive, FTP and local storage

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

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

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

## Template content

### ZFile

- **Image:** zhaojun1998/zfile:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host ZFile on Railway

[ZFile](https://github.com/zfile-dev/zfile) is an online file manager that unifies S3, OneDrive, Google Drive, FTP, SFTP and local storage with previews and share links.

## About Hosting ZFile

This template runs the `zhaojun1998/zfile` image with a persistent volume at `/root/.zfile-v4`. On first visit ZFile shows an installation page where you set the admin account; do this immediately, because whoever opens the page first becomes the admin.

## Common Use Cases

- Personal cloud drive
- Public file index over object storage
- Share links for files

## Dependencies for ZFile Hosting

- One service with a volume; nothing else

### Deployment Dependencies

- [ZFile on GitHub](https://github.com/zfile-dev/zfile)
- [Docker image](https://hub.docker.com/r/zhaojun1998/zfile)

## Why Deploy ZFile on Railway?

Railway gives you a public HTTPS URL, a persistent volume and automatic restarts with no server to maintain.


## 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/zfile-1
