From 149d1a837e6f17a55699b08112bade148b88cbef Mon Sep 17 00:00:00 2001 From: Kevin Van Ryckegem Date: Sat, 5 Jun 2021 16:54:19 +0200 Subject: [PATCH] Update readme docker-compose file for MyBB 1.9 - Build from the Dockerfile instead of using the image for 1.9 since it is not yet published - Added some information regarding database connections --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e19d294..74ceafb 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Example `stack.yml` for `mybb`: ```yaml services: mybb: - image: mybb/mybb:latest + build: . volumes: - ${PWD}/mybb:/var/www/html:rw nginx: @@ -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`