Skip to content

A Docker-ready WebDAV server for Filen-WebDAV, supporting multiple accounts.

License

Notifications You must be signed in to change notification settings

xiao-cold/efilen-webdav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EFilen WebDAV

A Docker-ready WebDAV server for Filen cloud storage, supporting multiple accounts.

Features

  • Multi-user support through proxy mode
  • Docker ready deployment
  • Flexible configuration via environment variables
  • Simple configuration

Quick Start

1. Start the Server

Using Docker

docker run -d --name efilen-webdav -p 8888:8888 xicodocker/efilen-webdav:latest

Using Docker Compose

  1. Clone the repository:
git clone https://github.com/xiao-cold/efilen-webdav.git
cd efilen-webdav
  1. Copy and modify environment file:
cp .env.example .env
  1. Start the service:
docker compose up -d

2. Connect to WebDAV

The server will be available at: http://localhost:8888

Use your Filen credentials in the following format:

If you have 2FA enabled:

  • Password: password=yourPassword&twoFactorAuthentication=123456

Advanced Usage

Custom Configuration

docker run -d \
  --name efilen-webdav \
  -p 8888:8888 \
  -e PORT=8888 \
  -e HOST=0.0.0.0 \
  -e AUTH_MODE=basic \
  xicodocker/efilen-webdav:latest

Configuration

Environment Variables

Variable Description Default
HOST Server hostname 0.0.0.0
PORT Server port 8888
HTTPS Enable HTTPS false
AUTH_MODE Authentication mode (basic/digest) basic
LOG_LEVEL Logging level (info/debug/error) info

Configuration Methods

  1. Environment file (.env)
  2. Docker environment variables
  3. Docker Compose environment variables

Development

Prerequisites

  • Node.js 18 or later
  • npm or yarn
  • Git

Project Structure

efilen-webdav/
├── src/
│   └── server.js
├── .env.example
├── .gitignore
├── docker-compose.yml
├── Dockerfile
├── package.json
└── README.md

Local Development

  1. Clone the repository
git clone https://github.com/xiao-cold/efilen-webdav.git
cd efilen-webdav
  1. Set up environment
# Copy environment file
cp .env.example .env

# Edit .env file with your preferred settings
vim .env
  1. Install dependencies
npm install
# or
yarn install
  1. Start development server
npm start
# or
yarn start

Building Docker Image Locally

# Build image
docker build -t efilen-webdav .

# Run container
docker run -d --name efilen-webdav -p 8888:8888 efilen-webdav

License

Distributed under the AGPL-3.0 License. See LICENSE for more information.

Acknowledgments

This project is based on the official Filen WebDAV package. Special thanks to:

  • FilenCloudDienste for creating and maintaining the original WebDAV package
  • The Filen.io team for providing the cloud storage service and SDK

About

A Docker-ready WebDAV server for Filen-WebDAV, supporting multiple accounts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published