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
[Bookstack](https://github.com/BookStackApp/BookStack) is a free and open source Wiki designed for creating beautiful documentation. Featuring a simple, but powerful WYSIWYG editor it allows for teams to create detailed and useful documentation with ease.
43
42
@@ -63,11 +62,10 @@ The architectures supported by this image are:
63
62
64
63
## Application Setup
65
64
66
-
The default username is admin@admin.com with the password of **password**, access the container at http://dockerhost:6875.
65
+
The default username is admin@admin.com with the password of **password**, access the container at http://<hostip>:6875.
67
66
68
67
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/.
69
68
70
-
71
69
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.
72
70
73
71
Documentation for BookStack can be found at https://www.bookstackapp.com/docs/.
@@ -79,8 +77,8 @@ Below is a mapping of container `/config` paths to those relative within a BookS
@@ -101,40 +99,24 @@ To help you get started creating a container from this image you can either use
101
99
---
102
100
services:
103
101
bookstack:
104
-
image: lscr.io/linuxserver/bookstack
102
+
image: lscr.io/linuxserver/bookstack:latest
105
103
container_name: bookstack
106
104
environment:
107
105
- PUID=1000
108
106
- PGID=1000
109
-
- TZ=Europe/London
110
-
- APP_URL=https://bookstack.example.com
111
-
- DB_HOST=bookstack_db
112
-
- DB_PORT=3306
113
-
- DB_USER=bookstack
114
-
- DB_PASS=<yourdbpass>
107
+
- TZ=Etc/UTC
108
+
- APP_URL=yourbaseurl
109
+
- DB_HOST=yourdbhost
110
+
- DB_PORT=yourdbport
111
+
- DB_USERNAME=yourdbuser
112
+
- DB_PASSWORD=yourdbpass
115
113
- DB_DATABASE=bookstackapp
114
+
- QUEUE_CONNECTION= #optional
116
115
volumes:
117
-
- /path/to/bookstack_app_data:/config
116
+
- /path/to/bookstack/config:/config
118
117
ports:
119
118
- 6875:80
120
119
restart: unless-stopped
121
-
depends_on:
122
-
- bookstack_db
123
-
124
-
bookstack_db:
125
-
image: lscr.io/linuxserver/mariadb
126
-
container_name: bookstack_db
127
-
environment:
128
-
- PUID=1000
129
-
- PGID=1000
130
-
- TZ=Europe/London
131
-
- MYSQL_ROOT_PASSWORD=<yourdbpass>
132
-
- MYSQL_DATABASE=bookstackapp
133
-
- MYSQL_USER=bookstack
134
-
- MYSQL_PASSWORD=<yourdbpass>
135
-
volumes:
136
-
- /path/to/bookstack_db_data:/config
137
-
restart: unless-stopped
138
120
```
139
121
140
122
### docker cli ([click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))
@@ -148,8 +130,8 @@ docker run -d \
148
130
-e APP_URL=yourbaseurl \
149
131
-e DB_HOST=yourdbhost \
150
132
-e DB_PORT=yourdbport \
151
-
-e DB_USER=yourdbuser \
152
-
-e DB_PASS=yourdbpass \
133
+
-e DB_USERNAME=yourdbuser \
134
+
-e DB_PASSWORD=yourdbpass \
153
135
-e DB_DATABASE=bookstackapp \
154
136
-e QUEUE_CONNECTION= `#optional` \
155
137
-p 6875:80 \
@@ -171,8 +153,8 @@ Containers are configured using parameters passed at runtime (such as those abov
171
153
|`-e APP_URL=yourbaseurl`| 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`|
172
154
|`-e DB_HOST=yourdbhost`| for specifying the database host |
173
155
|`-e DB_PORT=yourdbport`| for specifying the database port if not default 3306 |
174
-
|`-e DB_USER=yourdbuser`| for specifying the database user |
175
-
|`-e DB_PASS=yourdbpass`| for specifying the database password (minimum 4 characters & non-alphanumeric passwords must be properly escaped.) |
156
+
|`-e DB_USERNAME=yourdbuser`| for specifying the database user |
157
+
|`-e DB_PASSWORD=yourdbpass`| for specifying the database password (minimum 4 characters & non-alphanumeric passwords must be properly escaped.) |
176
158
|`-e DB_DATABASE=bookstackapp`| for specifying the database to be used |
177
159
|`-e QUEUE_CONNECTION=`| 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). |
178
160
|`-v /config`| Persistent config files |
@@ -339,6 +321,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
339
321
340
322
## Versions
341
323
324
+
***11.10.24:** - Default to environment config over .env file config.
342
325
***06.09.24:** - Add php-exif for reading image EXIF data.
343
326
***27.05.24:** - Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings.
344
327
***25.01.24:** - Existing users should update: site-confs/default.conf - Cleanup default site conf.
Copy file name to clipboardExpand all lines: readme-vars.yml
+8-46Lines changed: 8 additions & 46 deletions
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,8 @@ param_env_vars:
27
27
- { 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: "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
41
42
-
custom_compose: |
43
-
---
44
-
services:
45
-
bookstack:
46
-
image: lscr.io/linuxserver/bookstack
47
-
container_name: bookstack
48
-
environment:
49
-
- PUID=1000
50
-
- PGID=1000
51
-
- TZ=Europe/London
52
-
- APP_URL=https://bookstack.example.com
53
-
- DB_HOST=bookstack_db
54
-
- DB_PORT=3306
55
-
- DB_USER=bookstack
56
-
- DB_PASS=<yourdbpass>
57
-
- DB_DATABASE=bookstackapp
58
-
volumes:
59
-
- /path/to/bookstack_app_data:/config
60
-
ports:
61
-
- 6875:80
62
-
restart: unless-stopped
63
-
depends_on:
64
-
- bookstack_db
65
-
66
-
bookstack_db:
67
-
image: lscr.io/linuxserver/mariadb
68
-
container_name: bookstack_db
69
-
environment:
70
-
- PUID=1000
71
-
- PGID=1000
72
-
- TZ=Europe/London
73
-
- MYSQL_ROOT_PASSWORD=<yourdbpass>
74
-
- MYSQL_DATABASE=bookstackapp
75
-
- MYSQL_USER=bookstack
76
-
- MYSQL_PASSWORD=<yourdbpass>
77
-
volumes:
78
-
- /path/to/bookstack_db_data:/config
79
-
restart: unless-stopped
80
-
81
42
# application setup block
82
43
app_setup_block_enabled: true
83
44
app_setup_block: |
84
45
85
-
The default username is admin@admin.com with the password of **password**, access the container at http://dockerhost:6875.
46
+
The default username is admin@admin.com with the password of **password**, access the container at http://<host ip>:6875.
86
47
87
48
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/.
88
49
89
-
90
50
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.
91
51
92
52
Documentation for BookStack can be found at https://www.bookstackapp.com/docs/.
93
53
94
54
### BookStack File & Directory Paths
55
+
95
56
This container ensures certain BookStack application files & folders, such as user file upload folders, are retained within the `/config` folder so that they are persistent & accessible when the `/config` container path is bound as a volume. There may be cases, when following the BookStack documentation, that you'll need to know how these files and folders are used relative to a non-container BookStack installation.
96
57
97
58
Below is a mapping of container `/config` paths to those relative within a BookStack install directory:
### Advanced Users (full control over the .env file)
70
+
109
71
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.
110
72
111
73
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.
112
74
113
-
114
75
# changelog
115
76
changelogs:
77
+
- { date: "11.10.24:", desc: "Default to environment config over .env file config."}
0 commit comments