Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /