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
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ Below is a mapping of container `/config` paths to those relative within a BookS
89
89
90
90
### Advanced Users (full control over the .env file)
91
91
If you wish to use the extra functionality of BookStack such as email, Memcache, LDAP and so on you will need to make your own .env file with guidance from the BookStack documentation.
92
-
92
+
93
93
When you create the container, do not set any arguments for any SQL settings. The container will copy an exemplary .env file to /config/www/.env on your host system for you to edit.
94
94
95
95
## Usage
@@ -152,6 +152,7 @@ docker run -d \
152
152
-e DB_USER=<yourdbuser> \
153
153
-e DB_PASS=<yourdbpass> \
154
154
-e DB_DATABASE=bookstackapp \
155
+
-e QUEUE_CONNECTION= `#optional` \
155
156
-p 6875:80 \
156
157
-v /path/to/data:/config \
157
158
--restart unless-stopped \
@@ -175,6 +176,7 @@ Container images are configured using parameters passed at runtime (such as thos
175
176
|`-e DB_USER=<yourdbuser>`| for specifying the database user |
176
177
|`-e DB_PASS=<yourdbpass>`| for specifying the database password (minimum 4 characters & non-alphanumeric passwords must be properly escaped.) |
177
178
|`-e DB_DATABASE=bookstackapp`| for specifying the database to be used |
179
+
|`-e QUEUE_CONNECTION=`| Set to `database` to enable async actions like sending email or triggering webhooks. |
178
180
|`-v /config`| this will store any uploaded data on the docker host |
179
181
180
182
## Environment variables from files (Docker secrets)
Copy file name to clipboardExpand all lines: readme-vars.yml
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -25,19 +25,20 @@ param_volumes:
25
25
param_usage_include_env: true
26
26
param_env_vars:
27
27
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"}
28
-
- { env_var: "APP_URL", env_value: "<yourbaseurl>", desc: "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`"}
- { env_var: "DB_PASS", env_value: "<yourdbpass>", desc: "for specifying the database password (minimum 4 characters & non-alphanumeric passwords must be properly escaped.)" }
28
+
- { env_var: "APP_URL", env_value: "yourbaseurl", desc: "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`"}
- { env_var: "DB_PASS", env_value: "yourdbpass", desc: "for specifying the database password (minimum 4 characters & non-alphanumeric passwords must be properly escaped.)" }
33
33
- { env_var: "DB_DATABASE", env_value: "bookstackapp", desc: "for specifying the database to be used" }
34
34
35
35
param_usage_include_ports: true
36
36
param_ports:
37
37
- { external_port: "6875", internal_port: "80", port_desc: "will map the container's port 80 to port 6875 on the host" }
38
38
39
-
opt_param_usage_include_env: false
39
+
opt_param_usage_include_env: true
40
40
opt_param_env_vars:
41
+
- { env_var: "QUEUE_CONNECTION", env_value: "", desc: "Set to `database` to enable async actions like sending email or triggering webhooks. See [documentation](https://www.bookstackapp.com/docs/admin/email-webhooks/#async-action-handling)." }
41
42
42
43
custom_compose: |
43
44
---
@@ -85,7 +86,7 @@ app_setup_block: |
85
86
86
87
This application is dependent on a MySQL database be it one you already have or a new one. If you do not already have one, set up our MariaDB container here https://hub.docker.com/r/linuxserver/mariadb/.
87
88
88
-
89
+
89
90
If you intend to use this application behind a subfolder reverse proxy, such as our SWAG container or Traefik you will need to make sure that the `APP_URL` environment variable is set to your external domain, or it will not work.
90
91
91
92
Documentation for BookStack can be found at https://www.bookstackapp.com/docs/.
@@ -106,7 +107,7 @@ app_setup_block: |
106
107
107
108
### Advanced Users (full control over the .env file)
108
109
If you wish to use the extra functionality of BookStack such as email, Memcache, LDAP and so on you will need to make your own .env file with guidance from the BookStack documentation.
109
-
110
+
110
111
When you create the container, do not set any arguments for any SQL settings. The container will copy an exemplary .env file to /config/www/.env on your host system for you to edit.
0 commit comments