Skip to content

Commit be960b4

Browse files
committed
Add update-url note to readme
1 parent 448b168 commit be960b4

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

Diff for: README.md

+8
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ Below is a mapping of container `/config` paths to those relative within a BookS
8585
- `/config/www/themes/` => `themes/`
8686
- `/config/www/uploads/` => `public/uploads/`
8787

88+
### Changing APP_URL
89+
90+
If you change the APP_URL after initial install, you should run the following line from your host terminal to update the database URL entries:
91+
92+
```shell
93+
docker exec -it bookstack php /app/www/artisan bookstack:update-url ${OLD_URL} ${NEW_URL}
94+
```
95+
8896
### Advanced Users (full control over the .env file)
8997

9098
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.

Diff for: readme-vars.yml

+8
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ app_setup_block: |
6666
- `/config/www/themes/` => `themes/`
6767
- `/config/www/uploads/` => `public/uploads/`
6868
69+
### Changing APP_URL
70+
71+
If you change the APP_URL after initial install, you should run the following line from your host terminal to update the database URL entries:
72+
73+
```shell
74+
docker exec -it bookstack php /app/www/artisan bookstack:update-url ${OLD_URL} ${NEW_URL}
75+
```
76+
6977
### Advanced Users (full control over the .env file)
7078
7179
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)