phpBB is a free open-source bulletin board written in PHP.
$ git clone https://github.com/zuraw2006/phpbb.git
$ cd phpbb/example
$ docker-compose up -dThis image is for manual forum phpBB installation with FastCGI implementation for PHP. So some kind of reverse proxy (such as NGINX, Apache, or other tool which speaks the FastCGI) will be required. I chose NGINX.
After installation, you must delete the install directory. Look at the example/after_install.sh file.
3.3.15
Example docker-compose.yml:
services:
phpbb:
depends_on:
- db
image: zuraw2006/phpbb:3.3.15-php8.4.6-fpm
restart: always
volumes:
- phpbb:/var/www/html
networks:
- app-network
db:
image: mariadb:11.7
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_USER: phpbb_user
MYSQL_PASSWORD: example
MYSQL_DATABASE: phpbb
volumes:
- dbdata:/var/lib/mysql
networks:
- app-network
webserver:
depends_on:
- phpbb
image: nginx:1.27
restart: always
ports:
- "80:80"
volumes:
- phpbb:/var/www/html
- ./nginx-conf:/etc/nginx/conf.d
networks:
- app-network
volumes:
phpbb:
dbdata:
networks:
app-network:
driver: bridgeRun docker compose up -d, wait for it to initialize completely and visit http://localhost.