Homelab Troubleshooting

Tips on running a Linux server and docker.

User Tools

Site Tools


mybb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mybb [2021/08/27 11:51] alexk7110mybb [2021/08/28 10:43] (current) – [docker-compose.yml] alexk7110
Line 1: Line 1:
 ====== MyBB Troubleshooting Tips ====== ====== MyBB Troubleshooting Tips ======
 +----
 ===== docker-compose.yml ===== ===== docker-compose.yml =====
-  services: +<code yaml docker-compose.yml> 
-    mybb: +services: 
-      image: mybb/mybb:latest +  mybb: 
-      networks:+    image: mybb/mybb:latest 
 +    networks:
       - nginx_reverse_proxy_default       - nginx_reverse_proxy_default
-      volumes:+    volumes:
       - ${PWD}/mybb:/var/www/html:rw       - ${PWD}/mybb:/var/www/html:rw
-   + 
-    nginx: +  nginx: 
-      image: nginx:mainline-alpine +    image: nginx:mainline-alpine 
-      networks:+    networks:
       - nginx_reverse_proxy_default       - nginx_reverse_proxy_default
-      volumes:+    volumes:
       - ${PWD}/nginx:/etc/nginx/conf.d:ro       - ${PWD}/nginx:/etc/nginx/conf.d:ro
       - ${PWD}/mybb:/var/www/html:ro       - ${PWD}/mybb:/var/www/html:ro
-   + 
-    postgresql: +  postgresql: 
-      environment: +    image: postgres:13.2-alpine 
-        POSTGRES_DB: mybb +    environment: 
-        POSTGRES_PASSWORD: **your_db_password** +      POSTGRES_DB: mybb 
-        POSTGRES_USER: **your_db_user** +      POSTGRES_PASSWORD: **your_db_password** 
-      image: postgres:13.2-alpine +      POSTGRES_USER: **your_db_user** 
-      networks:+    networks:
       - nginx_reverse_proxy_default       - nginx_reverse_proxy_default
-      volumes:+    volumes:
       - ${PWD}/postgres/data:/var/lib/postgresql/data:rw       - ${PWD}/postgres/data:/var/lib/postgresql/data:rw
-  +
   networks:   networks:
     nginx_reverse_proxy_default:     nginx_reverse_proxy_default:
       external: true       external: true
-   + 
-  version: '3.8'+version: '3.8' 
 +</code>
mybb.1630054272.txt.gz · Last modified: 2021/08/27 11:51 by alexk7110