Sign inSign up

kindrobot/phpbb3

By kindrobot

•Updated almost 2 years ago

phpbb3 with sendmail support through SMTP

Image
0

325

kindrobot/phpbb3 repository overview

phpbb3 with SMTP sendmail support

The recommended way to run this container is with Docker Compose. More information is at https://github.com/kindrowboat/phpbb3-docker⁠, which includes:

  • a Dockerfile
  • a docker-compose.yaml
    • batteries included with mariadb server for phpbb3 to use
  • tooling to automatically download and unzip phpbb3 for use as a volume on the phpbb container
  • documentation!

⁠Standalone Setup

This image takes the following environment variables:

NameDescription
MSMTP_FROMFrom address for outgoing mail
MSMTP_USERUsername for the SMTP server
MSMTP_PASSWORDPassword for the SMTP server
MSMTP_HOSTHost for the SMTP server
MSMTP_PORTPort for the SMTP server
MSMTP_TLS"on" or "off" whether to use TLS with SMTP
MSMTP_TLS_TRUST_FILEBest set to /etc/ssl/certs/ca-certificates.crt
MYSQL_ROOT_PASSWORDRoot password for the MariaDB/MySQL database (optional)
MYSQL_DATABASEDatabase name for phpBB tables
MYSQL_USERUsername for phpBB to use to access the database
MYSQL_PASSWORDPassword for the user phpBB uses for the database

⁠Volume Requirement

This image requires a volume that mounts the source files of phpBB to /var/www/html/phpbb.

⁠Ports

This container exposes port 80 for incoming web requests that serve phpBB3.

⁠Example with Docker CLI

docker run -d \
  -v /path/to/phpbb:/var/www/html/phpbb \
  -e [email protected] \
  -e MSMTP_USER=smtp_user \
  -e MSMTP_PASSWORD=smtp_password \
  -e MSMTP_HOST=smtp.example.com \
  -e MSMTP_PORT=587 \
  -e MSMTP_TLS=on \
  -e MSMTP_TLS_TRUST_FILE=/etc/ssl/certs/ca-certificates.crt \
  -e MYSQL_ROOT_PASSWORD=root_password \
  -e MYSQL_DATABASE=phpbb_db \
  -e MYSQL_USER=phpbb_user \
  -e MYSQL_PASSWORD=phpbb_password \
  -p 8080:80 \
  kindrowboat/phpbb3

⁠License

phpbb3 and the tooling for this image are published under GNU GPL v3.

Tag summary

Content type

Image

Digest

sha256:7a6eecf4b…

Size

193 MB

Last updated

almost 2 years ago

docker pull kindrobot/phpbb3