🌍 Languages: Deutsch · English
Based on hacdias/webdav — a lightweight, actively maintained WebDAV server.
# 1. Create config and set credentials
cp config.yml.example config.yml
nano config.yml
# 2. Start server
docker-compose up -d
# 3. Check logs
docker-compose logs -f
# 4. Test
curl -u noteuser:your_password http://localhost:8080/Local: http://localhost:8080/
On network: http://YOUR_IP:8080/ (e.g. http://192.168.1.100:8080/)
Find IP address:
ip addr show | grep "inet " | grep -v 127.0.0.1Credentials are set in config.yml (not committed to git):
users:
- username: noteuser
password: your_secure_passwordDefault port is 8080. To change it:
cp .env.example .env
# Set WEBDAV_PORT in .env# Check status
docker-compose ps
# View logs
docker-compose logs -f
# Restart
docker-compose restart
# Stop
docker-compose down
# Update image
docker-compose pull && docker-compose up -dYour notes are stored in: ./notes-data/
Backup:
# Create backup
tar -czf notes-backup-$(date +%Y%m%d).tar.gz notes-data/
# Restore backup
tar -xzf notes-backup-YYYYMMDD.tar.gzFor access from outside your home network, use a reverse proxy like Caddy or nginx:
Example with Caddy:
notes.yourdomain.com {
reverse_proxy localhost:8080
}Important: Always use HTTPS for external access to protect your credentials!