flarum-docker is a complete, self-contained Flarum 2.0 stack in three containers — clone, set a few env vars, and docker compose up. Everything is baked into the image (nginx, php-fpm, Composer, the PHP extensions, the boot script): no runtime downloads, no external services, no telemetry.
What you get:
- Flarum 2.0 served by nginx + php-fpm under supervisor.
- MariaDB 11 — the database the Flarum extension ecosystem is built and tested against.
- Valkey (Redis-compatible) for cache + queue.
- Horizon queue worker (
fof/horizon + fof/redis) — background jobs run out of process.
- Realtime websockets (
flarum/realtime) for live updates.
- Audit log (
flarum/audit) and the Extension Manager so you can install extensions from the admin UI.
- File uploads (
fof/upload) on the local filesystem by default — no S3 required.
CI runs a build + backup/restore round-trip on every commit. Requirements: Docker + Docker Compose v2.
Repo & quickstart: https://github.com/linkrobins/flarum-docker. Issues or questions — post here.