2017-05-16 09:17:26 +02:00
|
|
|
phpBB
|
|
|
|
=====
|
|
|
|
|
|
|
|
[phpBB][1] is a free flat-forum bulletin board software solution
|
2015-05-22 04:13:48 +02:00
|
|
|
that can be used to stay in touch with a group of people
|
|
|
|
or can power your entire website.
|
|
|
|
|
|
|
|
This docker image support mysqli/postgres/sqlite3.
|
|
|
|
If you choose sqlite3, please use `/var/www/store/phpbb.db` as dbpath.
|
|
|
|
And it has no volumes, please use phpBB control panel to backup database.
|
|
|
|
|
2017-05-16 09:35:48 +02:00
|
|
|
## docker-compose.yml
|
|
|
|
|
|
|
|
```yaml
|
2022-01-21 13:23:05 +02:00
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
|
|
phpbb:
|
|
|
|
image: vimagick/phpbb
|
|
|
|
ports:
|
|
|
|
- "8000:80"
|
|
|
|
volumes:
|
|
|
|
- ./data:/var/www/store
|
|
|
|
restart: unless-stopped
|
2017-05-16 09:35:48 +02:00
|
|
|
```
|
|
|
|
|
2017-05-16 09:17:26 +02:00
|
|
|
# up and running
|
|
|
|
|
|
|
|
```bash
|
2017-05-16 09:35:48 +02:00
|
|
|
# create volume
|
|
|
|
$ mkdir -m 777 data
|
|
|
|
|
2015-05-22 04:13:48 +02:00
|
|
|
# run container
|
2017-05-16 09:35:48 +02:00
|
|
|
$ docker-compose up -d
|
2015-05-22 04:13:48 +02:00
|
|
|
|
2017-05-16 09:35:48 +02:00
|
|
|
# setup forum
|
2015-05-22 04:13:48 +02:00
|
|
|
$ firefox http://localhost:8000/install
|
2017-05-16 09:35:48 +02:00
|
|
|
|
|
|
|
# view database
|
|
|
|
$ sqlite3 data/phpbb.db
|
|
|
|
>>> .help
|
|
|
|
>>> .quit
|
2015-05-22 04:13:48 +02:00
|
|
|
```
|
2017-05-16 09:17:26 +02:00
|
|
|
|
|
|
|
[1]: https://www.phpbb.com/
|