Dockerized FLARUM
Japanese README is here.
FLARUM is a forum software made by PHP.
This repository contains dockerized FLARUM and compose files to operate with nginx - PHP-fpm - MariaDB.
Start:
- Clone or download this repository.
- Edit
docker-compose.yml
to fit your environment. - Start services with
docker-compose up -d data
command, then wait for MariaDB is available. - Start services with
docker-compose up -d
command. - Open
http://localhost/
with your browser.
Stop:
- Stop and remove services with
docker-compose down
command.
If you want remove all data (assets, database), add -v
option.
- FLARUM config file usually placed on
/var/www/html/config.php
. It is removed on container is recreated. So I set symbolic link from/var/www/html/assets/config.php
. - Docker volumes
db-data
andweb-assets
should be persisted. Commented sections indocker-compose.yml
would be helpful.