Skip to content

Commit

Permalink
PHP82
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Dec 9, 2023
1 parent 3ec91c8 commit 4ab1f3e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
34 changes: 17 additions & 17 deletions bookstack/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ RUN \
apk add --no-cache \
mariadb-client=10.11.5-r3 \
nginx=1.24.0-r14 \
php81-curl=8.1.26-r0 \
php81-dom=8.1.26-r0 \
php81-fileinfo=8.1.26-r0 \
php81-fpm=8.1.26-r0 \
php81-gd=8.1.26-r0 \
php81-iconv=8.1.26-r0 \
php81-ldap=8.1.26-r0 \
php81-mbstring=8.1.26-r0 \
php81-mysqlnd=8.1.26-r0 \
php81-openssl=8.1.26-r0 \
php81-pdo_mysql=8.1.26-r0 \
php81-session=8.1.26-r0 \
php81-simplexml=8.1.26-r0 \
php81-tokenizer=8.1.26-r0 \
php81-xml=8.1.26-r0 \
php81-xmlwriter=8.1.26-r0 \
php81=8.1.26-r0 \
php82-curl=8.2.13-r0 \
php82-dom=8.2.13-r0 \
php82-fileinfo=8.2.13-r0 \
php82-fpm=8.2.13-r0 \
php82-gd=8.2.13-r0 \
php82-iconv=8.2.13-r0 \
php82-ldap=8.2.13-r0 \
php82-mbstring=8.2.13-r0 \
php82-mysqlnd=8.2.13-r0 \
php82-openssl=8.2.13-r0 \
php82-pdo_mysql=8.2.13-r0 \
php82-session=8.2.13-r0 \
php82-simplexml=8.2.13-r0 \
php82-tokenizer=8.2.13-r0 \
php82-xml=8.2.13-r0 \
php82-xmlwriter=8.2.13-r0 \
php82=8.2.13-r0 \
\
&& apk add --no-cache --virtual .build-dependencies \
composer=2.6.6-r0 \
Expand Down
2 changes: 1 addition & 1 deletion bookstack/rootfs/etc/cont-init.d/bookstack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ ln -s /data/bookstack/uploads /var/www/bookstack/public/uploads
# Create API key if needed
if ! bashio::fs.file_exists "/data/bookstack/appkey.txt"; then
bashio::log.info "Generating app key"
key=$(php81 /var/www/bookstack/artisan key:generate --show)
key=$(php82 /var/www/bookstack/artisan key:generate --show)
echo "${key}" > /data/bookstack/appkey.txt
bashio::log.info "App Key generated: ${key}"
fi
Expand Down
4 changes: 2 additions & 2 deletions bookstack/rootfs/etc/services.d/php-fpm/run
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ if bashio::config.equals 'log_level' 'debug' \
fi

bashio::log.info "Installing/updating Database"
php81 /var/www/bookstack/artisan migrate --force
php82 /var/www/bookstack/artisan migrate --force

bashio::log.info "Starting PHP-FPM..."

exec php-fpm81 -R --nodaemonize
exec php-fpmphp82 -R --nodaemonize

0 comments on commit 4ab1f3e

Please sign in to comment.