Skip to content

Commit 6b6269e

Browse files
authored
Merge pull request #535 from solidnerd/rjh_update
feat: change default APP_URL value
2 parents 991e169 + 14475c8 commit 6b6269e

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,17 @@ Note that if you want to use LDAP, `$` has to be escape like `\$`, i.e. `-e "LDA
7676
-e DB_DATABASE=bookstack \
7777
-e DB_USERNAME=bookstack \
7878
-e DB_PASSWORD=secret \
79-
-e APP_URL=http://example.com \
79+
-e APP_URL=http://localhost:8080 \
8080
-e APP_KEY=SomeRandomStringWith32Characters \
8181
-p 8080:8080 \
8282
--name="bookstack_25.2.1" \
8383
solidnerd/bookstack:25.2.1
8484
```
8585

8686
The APP_URL parameter should be the base URL for your BookStack instance without
87-
a trailing slash. For example:
87+
a trailing slash, but including any port numbers. For example:
8888

89-
`APP_URL=http://example.com`
89+
`APP_URL=http://example.com` or `APP_URL=http://localhost:8080`.
9090

9191
The following environment variables are required for Bookstack to start:
9292
- `APP_KEY`

docker-compose.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ services:
1919
- DB_DATABASE=bookstack
2020
- DB_USERNAME=bookstack
2121
- DB_PASSWORD=secret
22-
#set the APP_ to the URL of bookstack without without a trailing slash APP_URL=https://example.com
23-
- APP_URL=http://example.com
22+
# Set the APP_ to the URL of bookstack without without a trailing slash,
23+
# but including any port numbers. For example, one of:
24+
# APP_URL=https://example.com
25+
# APP_URL=http://localhost:8080
26+
# APP_URL=https://wiki.example.com:8443
27+
- APP_URL=http://localhost:8080
2428
# APP_KEY is used for encryption where needed, so needs to be persisted to
2529
# preserve decryption abilities.
2630
# Can run `php artisan key:generate` to generate a key

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy