mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-12 00:43:07 +00:00
update webapp container
Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
+5
-5
@@ -35,7 +35,7 @@ RUN \
|
||||
# community download and package as apt source repository
|
||||
. /kopano/helper/create-kopano-repo.sh && \
|
||||
if [ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ]; then \
|
||||
dl_and_package_community "core"; \
|
||||
dl_and_package_community "core" "Debian_10"; \
|
||||
fi; \
|
||||
echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \
|
||||
# install
|
||||
@@ -51,10 +51,10 @@ RUN \
|
||||
# configure php-fpm
|
||||
RUN \
|
||||
mkdir -p /run/php && chown www-data:www-data /run/php && \
|
||||
crudini --set /etc/php/7.0/fpm/php.ini PHP upload_max_filesize 500M && \
|
||||
crudini --set /etc/php/7.0/fpm/php.ini PHP post_max_size 500M && \
|
||||
crudini --set /etc/php/7.0/fpm/php.ini PHP max_input_vars 1800 && \
|
||||
crudini --set /etc/php/7.0/fpm/php.ini Session session.save_path /run/sessions
|
||||
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
-1
@@ -82,5 +82,5 @@ set +u
|
||||
# cleaning up env variables
|
||||
unset "${!KCCONF_@}"
|
||||
echo "Starting php-fpm"
|
||||
php-fpm7.0 -F &
|
||||
php-fpm7.3 -F &
|
||||
exec /usr/libexec/kopano/kwebd caddy -conf /etc/kweb.cfg
|
||||
|
||||
Reference in New Issue
Block a user