Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
Forum software written in PHP: forums and sub-forums, threads and posts, private messages, search, member profiles, reputation and warnings, with moderation and an admin control panel. Plugins and themes extend it. A web installer creates the database tables and the administrator account on first visit. The official Docker image contains MyBB and PHP-FPM only, so it needs a web server such as nginx in front of it and a shared volume for the files, plus a database; it ships the PostgreSQL and MySQL drivers.
Runs on a VPS from $6/mo (Kamatera 2GB, 2 GB RAM) · prices checked Nov 2026
Fits home hardware (45 MB measured idle, RAM only): Raspberry Pi 4 (4 GB) (arm64 untested), Raspberry Pi 5 (8 GB) (arm64 untested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Pick MyBB when you want a traditional bulletin-board forum on cheap PHP hosting terms and are content with forums, threads, private messages, profiles, reputation and warnings plus plugins and themes, rather than a modern single-page client. It is LGPL-3.0 licensed and the team ships an official Docker image, but be aware that the image is only PHP-FPM with MyBB's files: it does not serve HTTP itself, so upstream's example runs it beside nginx, sharing one volume, and beside a database. Our snippet follows that stack example with `mybb/mybb:1.8.41` (pushed 2026-10-23, amd64 only, matching the 1.8.41 release of 2026-09-16), `nginx:1.30.6-alpine` with the virtual host from the image's documentation, and PostgreSQL 16 (upstream's example uses 14). We did not find an upstream RAM minimum, so our 512 MB floor is an estimate. In the catalog, Flarum is the lightweight modern PHP forum with extensions, NodeBB is real-time Node.js with ActivityPub, Discourse is the Rails forum with the heaviest install, and Apache Answer is for question-and-answer boards; MyBB is the older, plugin-and-theme classic that stays simple to run.
Paid link — we earn a commission if you shop through it.
Run these commands on your server:
# MyBB — upstream's stack example (php-fpm image + nginx + PostgreSQL) with a shared named volume and the nginx vhost from the image docs, pinned to MyBB 1.8.41
echo "POSTGRES_PASSWORD=$(openssl rand -hex 16)" > .env
mkdir -p nginx
cat > nginx/default.conf <<'EOF'
upstream mybb {
server mybb:9000 weight=5;
}
server {
listen 80;
root /var/www/html;
index index.html index.php;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ inc/ {
internal;
}
location ~ ^/(images|cache|jscripts|uploads)/ {
access_log off;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass mybb;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}
EOF
cat > docker-compose.yml <<'EOF'
services:
mybb:
image: mybb/mybb:1.8.41
restart: unless-stopped
volumes:
- mybb_html:/var/www/html:rw
nginx:
image: nginx:1.30.6-alpine
restart: unless-stopped
depends_on:
- mybb
ports:
- 8080:80
volumes:
- ./nginx:/etc/nginx/conf.d:ro
- mybb_html:/var/www/html:ro
postgresql:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_DB: mybb
POSTGRES_USER: mybb
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- pg_data:/var/lib/postgresql/data
volumes:
mybb_html:
pg_data:
EOF
docker compose up -d
timeout 300 bash -c 'until curl -fsS http://localhost:8080/install/index.php | grep -qi mybb; do sleep 3; done'
# → http://SERVER_IP:8080/install/ — the MyBB installer; choose PostgreSQL, host postgresql, database mybb, user mybb and the POSTGRES_PASSWORD value from .envMyBB's image README, entrypoint and installer flag these before you rely on it:
MyBB used 45 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.9.3 (first boot, measured Nov 2026). We list a minimum of 512 MB.
The MyBB install snippet is marked verified on Ubuntu 26.04 (Nov 2026).