enable apcu on cli
This commit is contained in:
parent
e78e56586c
commit
de212a710b
@ -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 \
|
||||||
|
@ -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
|
||||||
|
1
rootfs/etc/php7/conf.d/enable_apcu_for_cli.ini
Normal file
1
rootfs/etc/php7/conf.d/enable_apcu_for_cli.ini
Normal file
@ -0,0 +1 @@
|
|||||||
|
apc.enable_cli=1
|
Loading…
Reference in New Issue
Block a user