Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme docker-compose file for MyBB 1.9 #8

Open
wants to merge 1 commit into
base: develop/1.9
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Example `stack.yml` for `mybb`:
```yaml
services:
mybb:
image: mybb/mybb:latest
build: .
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe this is supported for docker swarm/docker stack (only Compose). If that's the case, the title likely needs changing.

(of course, it's possible I've just not been keeping up to date and this is now supported...)

volumes:
- ${PWD}/mybb:/var/www/html:rw
nginx:
Expand All @@ -56,3 +56,14 @@ services:
- ${PWD}/postgres/data:/var/lib/postgresql/data:rw
version: '3.6'
```

## Connecting to the database
Once it is running and you are on the MyBB installation page, you can use the following database credentials for connecting.

*Note: this is assuming you are using the above stack.yml / docker-compose file.*


- Database host: `postgresql` (this is from the postgresql service setup in the docker-compose file.
- Database user: `mybb`
- Database password: `changeme`
- Database name: `mybb`