---
title: "Deploy Dufs"
description: "Password-protected file server with upload, search and WebDAV"
category: "Storage"
url: https://railway.com/deploy/dufs-1
---

# Deploy Dufs

Password-protected file server with upload, search and WebDAV

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

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

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

## Template content

### Dufs

- **Image:** sigoden/dufs:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host Dufs on Railway

[Dufs](https://github.com/sigoden/dufs) is a small, fast file server written in Rust. It serves a directory over HTTP with a web UI for browsing, uploading, deleting and searching files, supports folder download as zip, and speaks WebDAV.

## About Hosting Dufs

This template runs the official `sigoden/dufs:latest` image on port 5000, serving `/data` from a persistent volume. It is not open to the public: the template generates a random password and creates an account named `admin` with full read/write access, and anonymous visitors get nothing. Find the password in the service Variables tab (`DUFS_PASSWORD`), then open the URL and sign in as `admin`. The server also answers `/__dufs__/health` without a login for health checks.

To add more accounts or make folders public, edit the `DUFS_AUTH` variable (rule syntax: `user:pass@/path:rw|@/public`).

## Common Use Cases

- A private file drop for your team
- A WebDAV share for notes and backups
- Quickly sending large files with a link and a password

## Dependencies for Dufs Hosting

- One service with a volume; nothing else

### Deployment Dependencies

- [Dufs on GitHub](https://github.com/sigoden/dufs)
- [Docker image](https://hub.docker.com/r/sigoden/dufs)

## Why Deploy Dufs on Railway?

Railway gives you a public HTTPS URL, a persistent volume, a generated login 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/dufs-1
