Skip to content

Commit b2d5513

Browse files
committed
🔨Set bookstack to debug if log_level set
Fixes #14
1 parent 41f5cb7 commit b2d5513

File tree

1 file changed

+5
-0
lines changed
  • bookstack/rootfs/etc/services.d/php-fpm

1 file changed

+5
-0
lines changed

‎bookstack/rootfs/etc/services.d/php-fpm/run‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ if bashio::config.has_value 'proxy_host';then
3131
APP_URL=$(bashio::config "proxy_host")
3232
fi
3333

34+
if bashio::config.equals 'log_level' 'debug' \
35+
|| bashio::config.equals 'log_level' 'trace' ;then
36+
export APP_DEBUG=true
37+
fi
38+
3439
bashio::log.info "Installing/updating Database"
3540
php /var/www/bookstack/artisan migrate --force
3641

0 commit comments

Comments
 (0)