Skip to content

Commit ac5dac2

Browse files
committed
Add env vars to docker-compose
1 parent 03907dd commit ac5dac2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker-compose.yml

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ services:
2121
- DB_PASSWORD=secret
2222
#set the APP_ to the URL of bookstack without without a trailing slash APP_URL=https://example.com
2323
- APP_URL=http://example.com
24+
# APP_KEY is used for encryption where needed, so needs to be persisted to
25+
# preserve decryption abilities.
26+
# Can run `php artisan key:generate` to generate a key
27+
- APP_KEY=SomeRandomString
2428
volumes:
2529
- uploads:/var/www/bookstack/public/uploads
2630
- storage-uploads:/var/www/bookstack/storage/uploads

0 commit comments

Comments
 (0)