Seafile Pro/CE 13 : Single Docker Compose with Traefik + Cloudflare

Hi,

I’ve put together a Seafile Pro/CE 13 deployment using a single Docker Compose file, with Traefik (not Caddy) and Cloudflare for TLS and DNS. I had a hard time finding a complete, up-to-date configuration, so I built one and decided to share it.

I would have shared it directly here on the forum, but keeping everything in a single place and allowing updates and contributions would have been difficult. So I created a GitHub repository so that:

  • everyone can clone or download it easily,

  • I can add improvements and fix issues over time,

  • others can contribute via pull requests or suggest changes.

Repository: https://github.com/LinkPhoenix/Seafile-Pro-CE-13-Single-Docker-Compose-Stack

The repo includes:

  • One docker-compose.yml for the main stack (Seafile, SeaDoc, notification server, metadata server, thumbnail server, MariaDB, Redis),

  • Example configs in conf/ to apply after the first run (email, WebDAV, 2FA, etc.),

  • Example Traefik configuration in traefik/,

  • A README with setup steps and optional service suggestions (mail, S3, VPS).

It’s currently set up without Elasticsearch and ClamAV; adding those is on the to-do list. The README also links to the official docs and forum.

If you try it and have feedback or run into issues, you can open an issue or a PR on GitHub, or reply here. I hope it’s useful for others.

___

I had already posted over a year ago a setup for Seafile 11 with SWAG on the forum. This new configuration (Pro 13, Traefik, single compose) is the updated version, and I wanted to put it in a place that’s easier to find, update, and modify—hence the GitHub repo. I’ll add the link to my previous post below for anyone who’s interested in the old thread.

1 Like

UPDATE 07/02/2026 :

  • Add missing SeaSearch configuration with documentation
  • Add Community Edition configuration
  • Add Links for advanced configuraiton