Skip to content

Commit f033396

Browse files
committed
Update README support DB_PORT
1 parent 5fa1132 commit f033396

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ services:
101101
- PGID=1000
102102
- APP_URL=
103103
- DB_HOST=bookstack_db
104+
- DB_PORT=3306
104105
- DB_USER=bookstack
105106
- DB_PASS=<yourdbpass>
106107
- DB_DATABASE=bookstackapp
@@ -137,6 +138,7 @@ docker run -d \
137138
-e PGID=1000 \
138139
-e APP_URL= \
139140
-e DB_HOST=<yourdbhost> \
141+
-e DB_PORT=<yourdbport> \
140142
-e DB_USER=<yourdbuser> \
141143
-e DB_PASS=<yourdbpass> \
142144
-e DB_DATABASE=bookstackapp \
@@ -157,6 +159,7 @@ Container images are configured using parameters passed at runtime (such as thos
157159
| `-e PGID=1000` | for GroupID - see below for explanation |
158160
| `-e APP_URL=` | for specifying the IP:port or URL your application will be accessed on (ie. `http://192.168.1.1:6875` or `https://bookstack.mydomain.com` |
159161
| `-e DB_HOST=<yourdbhost>` | for specifying the database host |
162+
| `-e DB_PORT=<yourdbport>` | for specifying the database port if not default 3306 |
160163
| `-e DB_USER=<yourdbuser>` | for specifying the database user |
161164
| `-e DB_PASS=<yourdbpass>` | for specifying the database password |
162165
| `-e DB_DATABASE=bookstackapp` | for specifying the database to be used |

0 commit comments

Comments
 (0)