- You can easily edit the script
mysql_install.sh
to change:
- mysql root password
- Flarum's username and password on mysql server
- Change nginx config for flarum by editting
flarum.conf
- Build image:
sudo docker build -t nadi106/flarum:0.1.0-beta.8 .
- Run instance:
sudo docker run -d -p 80:80 nadi106/flarum:0.1.0-beta.8
sudo docker run -d -p 80:80 nadi106/flarum:0.1.0-beta.8
- Root password:
12345678
- Database:
flarumdb
- Username for Flarum:
flarumuser
- Password for user:
12345678
After running the container, go to http://localhost
on your browser and enter:
-
Forum Title: (of your choosing)
-
MySQL Database: flarumdb
-
MySQL Username: flarumuser
-
MySQL Password: 12345678
-
Table Prefix: (leave empty)
You can choose your own admin username and password in the next section.