Sign inSign up

christinloehner/apboard

By christinloehner

•Updated 2 months ago

Self-hosted forum software. PHP 8.5 · Apache · MariaDB · Open source · GPL-3.0

Image
Web servers
Content management system
Databases & storage
0

1.0K

christinloehner/apboard repository overview

⁠APBoard

Self-hosted forum software. PHP 8.5 · Apache · MariaDB · GPL-3.0

APBoard is an open-source discussion forum system originally created in 1998. This image is the Next Generation rewrite: a modern PHP 8.5 application with Apache, Twig templates, Composer-managed dependencies, and a built-in web installer. No PHP knowledge required to run it.


⁠Quick start

Create a .env file:

APBOARD_URL=https://forum.example.com
APBOARD_DOMAIN=forum.example.com

APBOARD_DB_HOST=db
APBOARD_DB_NAME=apboard
APBOARD_DB_USER=apboard
APBOARD_DB_PASSWORD=change-this
APBOARD_DB_ROOT_PASSWORD=change-this-too
APBOARD_DB_PREFIX=apb_

[email protected]
APBOARD_FIRST_ADMIN_PASSWORD=change-this

Download the docker-compose.hub.yml⁠ from the repository and start the stack:

docker compose -f docker-compose.hub.yml --env-file .env up -d

APBoard is ready when the app container is healthy. Open https://forum.example.com/ in your browser.

The stack includes:

  • app — APBoard (PHP 8.5 + Apache)
  • db — MariaDB 10.6
  • db-init — one-shot container that seeds the database schema on first start

The example above uses Traefik⁠ for HTTPS. If you do not have Traefik, see the Docker installation guide⁠ for a standalone setup.


⁠Environment variables

⁠Required
VariableDescription
APBOARD_URLPublic forum URL, e.g. https://forum.example.com — no trailing slash
APBOARD_DOMAINDomain name only, e.g. forum.example.com — used by Traefik
APBOARD_DB_HOSTDatabase host — use db when running with the provided compose file
APBOARD_DB_NAMEDatabase name
APBOARD_DB_USERDatabase user
APBOARD_DB_PASSWORDDatabase password
APBOARD_DB_ROOT_PASSWORDMariaDB root password
APBOARD_DB_PREFIXTable prefix, default apb_
APBOARD_FIRST_ADMIN_EMAILEmail address for the first admin account
APBOARD_FIRST_ADMIN_PASSWORDPassword for the first admin account
⁠Optional — SMTP
VariableDescription
APBOARD_SMTP_HOSTSMTP server hostname
APBOARD_SMTP_PORTSMTP port, e.g. 587 or 465
APBOARD_SMTP_AUTHtrue or false
APBOARD_SMTP_SECUREstarttls (port 587) or smtps (port 465)
APBOARD_SMTP_USERSMTP username
APBOARD_SMTP_PASSSMTP password
APBOARD_SMTP_FROM_EMAILSender address
APBOARD_SMTP_FROM_NAMESender name shown in emails

SMTP is optional. If omitted, registration emails and password reset emails will not work until SMTP is configured.


⁠Volumes

Mount pointContents
/var/www/html/public/shared/uploadsUser-uploaded files — must be persisted

Everything else is baked into the image. Only uploads need a persistent volume.


⁠Tags

TagMeaning
latestLatest stable release
v3Latest 3.x release
v3.0Latest 3.0.x release
v3.0.1Specific release

⁠Updating

Pull the new image and recreate the container. APBoard runs database migrations automatically on startup — no manual migration step needed.

docker compose -f docker-compose.hub.yml --env-file .env pull
docker compose -f docker-compose.hub.yml --env-file .env up -d

Back up the database before every update.


⁠Source and license

Source: https://gitlab.apboard.de/app/apboard3⁠

APBoard is free software under the GNU General Public License v3⁠.

Copyright © 1998–2026 Christin Löhner

Tag summary

Content type

Image

Digest

sha256:e4f557370…

Size

275.3 MB

Last updated

2 months ago

docker pull christinloehner/apboard