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
- { env_var: "DB_DATABASE", env_value: "bookstackapp", desc: "for specifying the database to be used" }
32
-
- { env_var: "APPURL", env_value: "your.site.here.xyz", desc: "for specifying the url your application will be accessed on "}
32
+
- { env_var: "APP_URL", env_value: "your.site.here.xyz", desc: "for specifying the url your application will be accessed on (required for correct operation of reverse proxy)"}
33
33
34
34
param_usage_include_ports: true
35
35
param_ports:
@@ -45,10 +45,11 @@ app_setup_block: |
45
45
**Note** this will allow any user with these credentials to connect to the server, it is not limited to localhost
46
46
47
47
```
48
-
from shell: mysql -u root -p
48
+
from shell on sql container:
49
+
mysql -u root -p
49
50
CREATE DATABASE bookstackapp;
50
51
GRANT USAGE ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword';
51
-
GRANT ALL privileges ON `bookstackapp`.* TO 'myuser'@%;
52
+
GRANT ALL privileges ON `bookstackapp`.* TO 'myuser'@'%';
52
53
FLUSH PRIVILEGES;
53
54
```
54
55
@@ -58,14 +59,14 @@ app_setup_block: |
58
59
59
60
Default username is admin@admin.com with password of **password**
60
61
61
-
If you intend to use this application behind a reverse proxy, such as our LetsEncrypt container or Traefik you will need to make sure that the `APPURL` environment variable is set, or it will not work
62
+
If you intend to use this application behind a 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
62
63
63
-
Documentation can be found at https://www.bookstackapp.com/docs/
64
+
Documentation for BookStack can be found at https://www.bookstackapp.com/docs/
64
65
65
-
### Advanced Users
66
+
### Advanced Users (full control over the .env file)
66
67
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.
67
68
68
-
When you create the container, do not set any arguements for SQL or APPURL. The container will copy an .env file to /config/www/.env on your host system for you to edit.
69
+
When you create the container, do not set any arguments for any SQL settings, or APP_URL. The container will copy an .env file to /config/www/.env on your host system for you to edit.
0 commit comments