# Deploy Dufs with Easypanel

URL: /templates/dufs

Dufs is a distinctive file server that supports static file serving, uploading, searching, access control, and WebDAV — a fast, single-binary alternative to running a full cloud storage suite when you just need to browse and share a directory.

## Installation notes

Files placed in the "data" volume are served at your domain. Anyone can browse and download them, while uploads and deletes (when enabled below) need a login. The login is in DUFS_AUTH in the Environment tab, in the form user:password@/:rw, and the password is generated if you leave it blank. Turn on "Require Login To View" to make the whole instance private.

## Benefits

### Single Static Binary

A ~6MB Rust binary with no runtime dependencies.

### Fine-Grained Access Control

Per-directory read/write rules, with optional username/password protection.

### WebDAV Support

Mount your served directory as a network drive over WebDAV.

## Features

### Upload & Search

Optionally allow visitors to upload files and search across the served directory.

### Archive Downloads

Download entire folders as a zip archive on demand.

### CORS Support

Enable CORS for use from browser-based apps.

## Configuration

- `appServiceName` (App Service Name, required): dufs

- `appServiceImage` (App Service Image, required): sigoden/dufs:v0.46.0

- `allowUpload` (Allow Upload): false

- `allowDelete` (Allow Delete): false

- `allowSearch` (Allow Search): true

- `allowArchive` (Allow Folder Download as Archive): false

- `authUsername` (Auth Username): admin

- `authPassword` (Auth Password): Set during installation — Leave blank to generate one.

- `requireLoginToView` (Require Login To View): false

## Services

- dufs: app (sigoden/dufs:v0.46.0)

## Resources

- [GitHub](https://github.com/sigoden/dufs)

- [Documentation](https://github.com/sigoden/dufs#readme)

- [Template source](https://github.com/easypanel-io/templates/tree/main/templates/dufs)