Skip to content

Commit 5470eb4

Browse files
Bot Updating Templated Files
1 parent 37fb5b4 commit 5470eb4

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,22 @@ The default username is admin@admin.com with the password of **password**, acces
6969
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/.
7070

7171

72-
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+
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.
7373

74-
Documentation for BookStack can be found at https://www.bookstackapp.com/docs/
74+
Documentation for BookStack can be found at https://www.bookstackapp.com/docs/.
75+
76+
### BookStack File & Directory Paths
77+
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.
78+
79+
Below is a mapping of container `/config` paths to those relative within a BookStack install directory:
80+
81+
- **/config container path** => **BookStack relative path**
82+
- `/config/www/.env` => `.env`
83+
- `/config/www/laravel.log` => `storage/logs/laravel.log`
84+
- `/config/www/files/` => `storage/uploads/files/`
85+
- `/config/www/images/` => `storage/uploads/images/`
86+
- `/config/www/themes/` => `themes/`
87+
- `/config/www/uploads/` => `public/uploads/`
7588

7689
### Advanced Users (full control over the .env file)
7790
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.

0 commit comments

Comments
 (0)