diff --git a/phpbb/Dockerfile b/phpbb/Dockerfile index 4195001..3849a38 100644 --- a/phpbb/Dockerfile +++ b/phpbb/Dockerfile @@ -3,7 +3,7 @@ # FROM php:5.6-apache -MAINTAINER kev +MAINTAINER kev RUN a2enmod rewrite @@ -16,9 +16,9 @@ RUN set -xe \ WORKDIR /var/www/html -ENV PHPBB_VERSION 3.1.10 +ENV PHPBB_VERSION 3.2.0 ENV PHPBB_URL https://www.phpbb.com/files/release/phpBB-${PHPBB_VERSION}.tar.bz2 -ENV PHPBB_SHA 198fda1a0bd833d42e0d4f4fe26a47d656a6e087ed9a561e06b0940de131a22c +ENV PHPBB_SHA 610d960b6e050b205b7248dea366c63bf1feee0551170c75fa4ecbacd5213a0d ENV PHPBB_FILE phpBB.tar.bz2 RUN set -xe \ diff --git a/phpbb/README.md b/phpbb/README.md index 3cf1f84..10dd761 100644 --- a/phpbb/README.md +++ b/phpbb/README.md @@ -1,4 +1,7 @@ -`phpBB` is a free flat-forum bulletin board software solution +phpBB +===== + +[phpBB][1] is a free flat-forum bulletin board software solution that can be used to stay in touch with a group of people or can power your entire website. @@ -6,10 +9,14 @@ 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. -``` +# up and running + +```bash # run container $ docker run -d --restart always --name phpbb -p 8000:80 vimagick/phpbb # setup website $ firefox http://localhost:8000/install ``` + +[1]: https://www.phpbb.com/ diff --git a/phpbb/docker-compose.yml b/phpbb/docker-compose.yml new file mode 100644 index 0000000..b782e38 --- /dev/null +++ b/phpbb/docker-compose.yml @@ -0,0 +1,7 @@ +phpbb: + image: vimagick/phpbb + ports: + - "8000:80" + volumes: + - ./data:/var/www/store + restart: always