Skip to content
GitLab
Explore
Sign in
libre.sh
docker
nextcloud
Compare revisions
43a8a560ea37c6ee113c6775e210d3e2b77e0281 to ee9a1ddcbe3bb5969b4b3bcbe1a1f4732ba76f15
Commits on Source (2)
Optimizes php.
· cc95740e
Pierre Ozoux
authored
Apr 20, 2021
cc95740e
Merge branch 'master' of lab.libreho.st:libre.sh/docker/nextcloud
· ee9a1ddc
Pierre Ozoux
authored
Apr 20, 2021
ee9a1ddc
Hide whitespace changes
Inline
Side-by-side
base/Dockerfile
View file @
ee9a1ddc
...
...
@@ -9,6 +9,8 @@ RUN rm ./install.sh ./install-list
FROM
nextcloud:${VERSION}-fpm-alpine
COPY
redis.ini /usr/local/etc/php/conf.d/
COPY
opcache-recommended.ini /usr/local/etc/php/conf.d/opcache.ini
COPY
php-fpm.conf /usr/local/etc/php-fpm.conf
COPY
--chown=www-data:root config/* /usr/src/nextcloud/config/
COPY
--from=apps --chown=www-data:root /apps/* /usr/src/nextcloud/apps/
COPY
--chown=www-data:root ./apps/indie_external /usr/src/nextcloud/apps/indie_external
...
...
base/opcache-recommended.ini
0 → 100755
View file @
ee9a1ddc
opcache.enable
=
1
opcache.interned_strings_buffer
=
8
opcache.max_accelerated_files
=
10000
opcache.memory_consumption
=
128
opcache.save_comments
=
1
opcache.revalidate_freq
=
1
base/php-fpm.conf
0 → 100755
View file @
ee9a1ddc
;
This
file
was
initially
adapated
from
the
output
of
: (
on
PHP
5
.
6
)
;
grep
-
vE
'^;|^ *$'
/
usr
/
local
/
etc
/
php
-
fpm
.
conf
.
default
[
global
]
error_log
= /
proc
/
self
/
fd
/
2
daemonize
=
no
[
www
]
;
if
we
send
this
to
/
proc
/
self
/
fd
/
1
,
it
never
appears
;
Ensure
worker
stdout
and
stderr
are
sent
to
the
main
error
log
.
access
.
log
= /
proc
/
self
/
fd
/
2
user
=
www
-
data
group
=
www
-
data
listen
= [::]:
9000
pm
=
dynamic
pm
.
max_children
=
100
pm
.
start_servers
=
5
pm
.
min_spare_servers
=
5
pm
.
max_spare_servers
=
10
clear_env
=
no