You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,7 @@ services:
101
101
- PGID=1000
102
102
- APP_URL=
103
103
- DB_HOST=bookstack_db
104
+
- DB_PORT=3306
104
105
- DB_USER=bookstack
105
106
- DB_PASS=<yourdbpass>
106
107
- DB_DATABASE=bookstackapp
@@ -137,6 +138,7 @@ docker run -d \
137
138
-e PGID=1000 \
138
139
-e APP_URL= \
139
140
-e DB_HOST=<yourdbhost> \
141
+
-e DB_PORT=<yourdbport> \
140
142
-e DB_USER=<yourdbuser> \
141
143
-e DB_PASS=<yourdbpass> \
142
144
-e DB_DATABASE=bookstackapp \
@@ -157,9 +159,10 @@ Container images are configured using parameters passed at runtime (such as thos
157
159
|`-e PGID=1000`| for GroupID - see below for explanation |
158
160
|`-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`|
159
161
|`-e DB_HOST=<yourdbhost>`| for specifying the database host |
162
+
|`-e DB_PORT=<yourdbport>`| for specifying the database port if not default 3306 |
160
163
|`-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 |
163
166
|`-v /config`| this will store any uploaded data on the docker host |
164
167
165
168
## Environment variables from files (Docker secrets)
0 commit comments