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
@@ -136,11 +137,11 @@ Container images are configured using parameters passed at runtime (such as thos
136
137
|`-p 80`| will map the container's port 80 to port 6875 on the host |
137
138
|`-e PUID=1000`| for UserID - see below for explanation |
138
139
|`-e PGID=1000`| for GroupID - see below for explanation |
140
+
|`-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`|
139
141
|`-e DB_HOST=<yourdbhost>`| for specifying the database host |
140
142
|`-e DB_USER=<yourdbuser>`| for specifying the database user |
141
143
|`-e DB_PASS=<yourdbpass>`| for specifying the database password |
142
144
|`-e DB_DATABASE=bookstackapp`| for specifying the database to be used |
143
-
|`-e APP_URL=http://your.site.here.xyz`| for specifying the url your application will be accessed on (required for correct operation of reverse proxy) |
144
145
|`-v /config`| this will store any uploaded data on the docker host |
145
146
146
147
## Environment variables from files (Docker secrets)
@@ -183,14 +184,14 @@ The default username is admin@admin.com with the password of **password**, acces
183
184
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/.
184
185
185
186
186
-
If you intend to use this application behind a subfolder reverse proxy, such as our LetsEncrypt container or Traefik you will need to make sure that the `APP_URL` environment variable is set, or it will not work
187
+
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
187
188
188
189
Documentation for BookStack can be found at https://www.bookstackapp.com/docs/
189
190
190
191
### Advanced Users (full control over the .env file)
191
192
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.
192
193
193
-
When you create the container, do not set any arguments for any SQL settings, or APP_URL. The container will copy an exemplary .env file to /config/www/.env on your host system for you to edit.
194
+
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.
194
195
195
196
#### PDF Rendering
196
197
[wkhtmltopdf](https://wkhtmltopdf.org/) is available to use as an alternative PDF rendering generator as described at https://www.bookstackapp.com/docs/admin/pdf-rendering/.
@@ -269,6 +270,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
269
270
270
271
## Versions
271
272
273
+
***17.12.20:** - Make APP_URL var required (upstream changes).
272
274
***17.09.20:** - Rebase to alpine 3.12. Fix APP_URL setting. Bump php post max and upload max filesizes to 100MB by default.
273
275
***19.12.19:** - Rebasing to alpine 3.11.
274
276
***26.07.19:** - Use old version of tidyhtml pending upstream fixes.
Copy file name to clipboardExpand all lines: readme-vars.yml
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ param_volumes:
25
25
- { vol_path: "/config", vol_host_path: "/path/to/data", desc: "this will store any uploaded data on the docker host" }
26
26
param_usage_include_env: true
27
27
param_env_vars:
28
+
- { env_var: "APP_URL", env_value: "", 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`"}
- { external_port: "6875", internal_port: "80", port_desc: "will map the container's port 80 to port 6875 on the host" }
36
37
37
-
opt_param_usage_include_env: true
38
+
opt_param_usage_include_env: false
38
39
opt_param_env_vars:
39
-
- { env_var: "APP_URL", env_value: "http://your.site.here.xyz", desc: "for specifying the url your application will be accessed on (required for correct operation of reverse proxy)"}
40
40
41
41
custom_compose: |
42
42
---
43
43
version: "2"
44
44
services:
45
45
bookstack:
46
-
image: linuxserver/bookstack
46
+
image: ghcr.io/linuxserver/bookstack
47
47
container_name: bookstack
48
48
environment:
49
49
- PUID=1000
50
50
- PGID=1000
51
+
- APP_URL=
51
52
- DB_HOST=bookstack_db
52
53
- DB_USER=bookstack
53
54
- DB_PASS=<yourdbpass>
@@ -60,7 +61,7 @@ custom_compose: |
60
61
depends_on:
61
62
- bookstack_db
62
63
bookstack_db:
63
-
image: linuxserver/mariadb
64
+
image: ghcr.io/linuxserver/mariadb
64
65
container_name: bookstack_db
65
66
environment:
66
67
- PUID=1000
@@ -83,14 +84,14 @@ app_setup_block: |
83
84
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/.
84
85
85
86
86
-
If you intend to use this application behind a subfolder reverse proxy, such as our LetsEncrypt container or Traefik you will need to make sure that the `APP_URL` environment variable is set, or it will not work
87
+
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
87
88
88
89
Documentation for BookStack can be found at https://www.bookstackapp.com/docs/
89
90
90
91
### Advanced Users (full control over the .env file)
91
92
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
93
93
-
When you create the container, do not set any arguments for any SQL settings, or APP_URL. The container will copy an exemplary .env file to /config/www/.env on your host system for you to edit.
94
+
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
95
95
96
#### PDF Rendering
96
97
[wkhtmltopdf](https://wkhtmltopdf.org/) is available to use as an alternative PDF rendering generator as described at https://www.bookstackapp.com/docs/admin/pdf-rendering/.
0 commit comments