This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mybb [2021/08/27 11:51] – alexk7110 | mybb [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 ===== | ||
- | | + | <code yaml docker-compose.yml> |
- | mybb: | + | services: |
- | image: mybb/ | + | mybb: |
- | networks: | + | image: mybb/ |
+ | networks: | ||
- nginx_reverse_proxy_default | - nginx_reverse_proxy_default | ||
- | | + | |
- ${PWD}/ | - ${PWD}/ | ||
- | | + | |
- | nginx: | + | nginx: |
- | image: nginx: | + | image: nginx: |
- | networks: | + | networks: |
- nginx_reverse_proxy_default | - nginx_reverse_proxy_default | ||
- | | + | |
- ${PWD}/ | - ${PWD}/ | ||
- ${PWD}/ | - ${PWD}/ | ||
- | | + | |
- | postgresql: | + | postgresql: |
- | environment: | + | |
- | POSTGRES_DB: | + | |
- | POSTGRES_PASSWORD: | + | POSTGRES_DB: |
- | POSTGRES_USER: | + | POSTGRES_PASSWORD: |
- | | + | POSTGRES_USER: |
- | | + | networks: |
- nginx_reverse_proxy_default | - nginx_reverse_proxy_default | ||
- | | + | |
- ${PWD}/ | - ${PWD}/ | ||
- | | + | |
networks: | networks: | ||
nginx_reverse_proxy_default: | nginx_reverse_proxy_default: | ||
external: true | external: true | ||
- | | + | |
- | version: ' | + | version: ' |
+ | </ |