mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
upgrade phpbb to 3.2.0
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
FROM php:5.6-apache
|
FROM php:5.6-apache
|
||||||
MAINTAINER kev<noreply@easypi.pro>
|
MAINTAINER kev <noreply@easypi.pro>
|
||||||
|
|
||||||
RUN a2enmod rewrite
|
RUN a2enmod rewrite
|
||||||
|
|
||||||
@@ -16,9 +16,9 @@ RUN set -xe \
|
|||||||
|
|
||||||
WORKDIR /var/www/html
|
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_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
|
ENV PHPBB_FILE phpBB.tar.bz2
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
|
|||||||
@@ -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
|
that can be used to stay in touch with a group of people
|
||||||
or can power your entire website.
|
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.
|
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.
|
And it has no volumes, please use phpBB control panel to backup database.
|
||||||
|
|
||||||
```
|
# up and running
|
||||||
|
|
||||||
|
```bash
|
||||||
# run container
|
# run container
|
||||||
$ docker run -d --restart always --name phpbb -p 8000:80 vimagick/phpbb
|
$ docker run -d --restart always --name phpbb -p 8000:80 vimagick/phpbb
|
||||||
|
|
||||||
# setup website
|
# setup website
|
||||||
$ firefox http://localhost:8000/install
|
$ firefox http://localhost:8000/install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[1]: https://www.phpbb.com/
|
||||||
|
|||||||
7
phpbb/docker-compose.yml
Normal file
7
phpbb/docker-compose.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
phpbb:
|
||||||
|
image: vimagick/phpbb
|
||||||
|
ports:
|
||||||
|
- "8000:80"
|
||||||
|
volumes:
|
||||||
|
- ./data:/var/www/store
|
||||||
|
restart: always
|
||||||
Reference in New Issue
Block a user