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.ymlto fit your environment. - Start services with
docker-compose up -d datacommand, then wait for MariaDB is available. - Start services with
docker-compose up -dcommand. - Open
http://localhost/with your browser.
Stop:
- Stop and remove services with
docker-compose downcommand.
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-dataandweb-assetsshould be persisted. Commented sections indocker-compose.ymlwould be helpful.