MyBB

Free, extensible forum software package.

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml

version: '3.8'
services:
  mybb:
    image: mybb/mybb:latest
    volumes:
    - ${PWD}/mybb:/var/www/html:rw
 
  nginx:
    image: nginx:mainline-alpine
    ports:
    - published: 8080
      target: 80
    volumes:
    - ${PWD}/nginx:/etc/nginx/conf.d:ro
    - ${PWD}/mybb:/var/www/html:ro
 
  postgresql:
    environment:
      POSTGRES_DB: mybb
      POSTGRES_PASSWORD: changeme
      POSTGRES_USER: mybb
    image: postgres:14-alpine
    volumes:
    - ${PWD}/postgres/data:/var/lib/postgresql/data:rw

Resources

Website: https://mybb.com/

GitHub: https://github.com/mybb/mybb

Docker Hub: https://hub.docker.com/r/mybb/mybb

Configuration: https://github.com/mybb/docker