1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

prepare changes to run kdav through kweb as well (#424)

* prepare changes to run kdav through kweb as well
* add kdav configuration
* add remaining kdav configuration for kweb
* import remaining kweb/php-fpm config from https://stash.kopano.io/projects/PKG/repos/kopano-one-php-fpm/browse
This commit is contained in:
Felix Bartels
2020-09-15 11:33:08 +02:00
committed by GitHub
parent 045ca52d79
commit 8432396059
16 changed files with 248 additions and 94 deletions
+3 -5
View File
@@ -34,19 +34,17 @@ RUN --mount=type=secret,id=repocred,target=/etc/apt/auth.conf.d/kopano.conf \
# install
set -x && \
apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
crudini \
kopano-kwebd \
php-fpm \
crudini \
ca-certificates \
php7-mapi \
${ADDITIONAL_KOPANO_PACKAGES} \
&& rm -rf /var/cache/apt /var/lib/apt/lists
# configure php-fpm
RUN \
mkdir -p /run/php && chown www-data:www-data /run/php && \
crudini --set /etc/php/7.3/fpm/php.ini PHP upload_max_filesize 500M && \
crudini --set /etc/php/7.3/fpm/php.ini PHP post_max_size 500M && \
crudini --set /etc/php/7.3/fpm/php.ini PHP max_input_vars 1800 && \
crudini --set /etc/php/7.3/fpm/php.ini Session session.save_path /run/sessions
EXPOSE 9080/tcp
+1
View File
@@ -1,2 +1,3 @@
[global]
;output errors on stderr
error_log = /proc/self/fd/2