Skip to content

cljk/flarum-docker-compose

Repository files navigation

Flarum Forums made simple.

Flarum is the next-generation forum software that makes online discussion fun. It's simple, fast, and free. http://flarum.org/

To start a fresh flarum setup just checkout the repo and startup with

git clone https://github.com/cljk/flarum-docker-compose
cd flarum-docker-compose
docker-compose build
docker-compose up

Persistent storage

In docker-compose.yml all data (from database and www/flarum files) are mapped in the folders under /data.

On first startup composer is called to install flarum in /var/www/html which maps to /data/www_html (compare /http/docker/hooks/entrypoint-pre.d/02_installFlarum)

This takes some time... after that you can call installation procedure of flarum. Enter following data for db link:

  • Mysql host: db
  • Mysql database: flarum
  • Mysql Username: flarum
  • Mysql Password: flarum
  • Table Prefix:

Warning

You´ll get a startup error on windows machines if you didn´t set git config core.autocrlf to false

Just call

git config --global core.autocrlf false

(delete everything and recheckout the project).

Flarum

HTTP exposed at 8180

Phpmyadmin

running on 8181

Mailhog at 8025

Mysql

at 3306

About

Easy setup for Flarum based on docker-compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published