Homelab Troubleshooting

Tips on running a Linux server and docker.

User Tools

Site Tools


mybb

MyBB Troubleshooting Tips


docker-compose.yml

docker-compose.yml
services:
  mybb:
    image: mybb/mybb:latest
    networks:
      - nginx_reverse_proxy_default
    volumes:
      - ${PWD}/mybb:/var/www/html:rw

  nginx:
    image: nginx:mainline-alpine
    networks:
      - nginx_reverse_proxy_default
    volumes:
      - ${PWD}/nginx:/etc/nginx/conf.d:ro
      - ${PWD}/mybb:/var/www/html:ro

  postgresql:
    image: postgres:13.2-alpine
    environment:
      POSTGRES_DB: mybb
      POSTGRES_PASSWORD: **your_db_password**
      POSTGRES_USER: **your_db_user**
    networks:
      - nginx_reverse_proxy_default
    volumes:
      - ${PWD}/postgres/data:/var/lib/postgresql/data:rw

  networks:
    nginx_reverse_proxy_default:
      external: true

version: '3.8'
mybb.txt · Last modified: 2021/08/28 10:43 by alexk7110