enable apcu on cli

This commit is contained in:
Sebastian Hugentobler 2019-03-17 18:22:10 +01:00
parent e78e56586c
commit de212a710b
3 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,7 @@ RUN apk add --no-cache \
nginx \ nginx \
ffmpeg \ ffmpeg \
php7-cli \ php7-cli \
php7-pecl-apcu \
php7-opcache \ php7-opcache \
php7-pcntl \ php7-pcntl \
php7-imagick \ php7-imagick \

View File

@ -45,6 +45,8 @@ s6-setuidgid nginx ./occ app:disable survey_client
s6-setuidgid nginx ./occ app:disable systemtags s6-setuidgid nginx ./occ app:disable systemtags
s6-setuidgid nginx ./occ app:disable updatenotification s6-setuidgid nginx ./occ app:disable updatenotification
s6-setuidgid nginx ./occ config:system:set --value '\OC\Memcache\APCu' memcache.local
s6-setuidgid nginx ./occ config:system:set --value "https://$DOMAIN" overwrite.cli.url s6-setuidgid nginx ./occ config:system:set --value "https://$DOMAIN" overwrite.cli.url
s6-setuidgid nginx ./occ config:system:set --value "localhost" trusted_domains 0 s6-setuidgid nginx ./occ config:system:set --value "localhost" trusted_domains 0
s6-setuidgid nginx ./occ config:system:set --value "$DOMAIN" trusted_domains 1 s6-setuidgid nginx ./occ config:system:set --value "$DOMAIN" trusted_domains 1

View File

@ -0,0 +1 @@
apc.enable_cli=1