Skip to content

Commit 240d123

Browse files
Bot Updating Templated Files
1 parent c075b28 commit 240d123

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 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,9 +159,10 @@ 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 |
161-
| `-e DB_PASS=<yourdbpass>` | for specifying the database password |
162-
| `-e DB_DATABASE=bookstackapp` | for specifying the database to be used (non-alphanumeric passwords must be properly escaped.) |
164+
| `-e DB_PASS=<yourdbpass>` | for specifying the database password (non-alphanumeric passwords must be properly escaped.) |
165+
| `-e DB_DATABASE=bookstackapp` | for specifying the database to be used |
163166
| `-v /config` | this will store any uploaded data on the docker host |
164167

165168
## Environment variables from files (Docker secrets)

0 commit comments

Comments
 (0)