Build and grow your online audience with a highly adaptable, open-source community framework designed for projects of any size. Whether you are managing a small hobbyist forum or a large enterprise network, this platform provides the flexibility you need without vendor lock-in. Complete data ownership ensures your community remains entirely yours, with no hidden fees or restrictive hosting requirements. Powerful permission groups allow you to easily configure access levels, assign moderators, and control category visibility. You can customize the user experience with a versatile text editor that supports BBCode, Markdown, and WYSIWYG formats. Extensive styling options let you modify the appearance through an intuitive admin panel, installable themes, or custom CSS. Keep your users active and engaged with multi-channel notifications and real-time updates via websockets. With hundreds of available extensions, you can easily adapt the platform to meet your exact requirements.
services:
flarum:
image: crazy-max/flarum:latest
container_name: flarum
ports:
- "8000:8000"
environment:
- TZ=UTC
- PUID=1000
- PGID=1000
- DB_HOST=db
- DB_NAME=flarum
- DB_USER=flarum
- DB_PASSWORD=${DB_PASSWORD}
- FLARUM_BASE_URL=http://localhost:8000
- FLARUM_TITLE=My Forum
- FLARUM_ADMIN_USER=admin
- FLARUM_ADMIN_PASS=${FLARUM_ADMIN_PASS}
- FLARUM_ADMIN_EMAIL=admin@example.com
volumes:
- ./data:/data
depends_on:
- db
restart: always
db:
image: mariadb:10.11
container_name: flarum_db
environment:
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD}
- MYSQL_DATABASE=flarum
- MYSQL_USER=flarum
- MYSQL_PASSWORD=${DB_PASSWORD}
volumes:
- ./db:/var/lib/mysql
restart: alwaysDB_ROOT_PASSWORD=root_secure_password
DB_PASSWORD=flarum_secure_password
FLARUM_ADMIN_PASS=admin_secure_passwordAuto-fetched about 18 hours ago
Auto-fetched about 18 hours ago