Browse Source

replace memory settings

main
Markus Bergholz 2 months ago
parent
commit
0c16ae5b86
Signed by: m GPG Key ID: B45724801354B174
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      roles/containers/files/nextcloud.Dockerfile

+ 1
- 3
roles/containers/files/nextcloud.Dockerfile View File

@ -68,9 +68,7 @@ COPY --from=builder /usr/local/lib/php/extensions/no-debug-non-zts-20200930/pdli
RUN echo "extension=pdlib.so" > /usr/local/etc/php/conf.d/pdlib.ini
# Increse memory limits
RUN sed -i 's/memory_limit=512M/memory_limit=1G/' /usr/local/etc/php/conf.d/memory-limit.ini
ENV PHP_MEMORY_LIMIT=1G
RUN sed -i 's/LogFormat "%h/LogFormat "%{X-Forwarded-For}i/' /etc/apache2/apache2.conf
RUN sed -i 's/ServerTokens OS/ServerTokens Prod/' /etc/apache2/conf-available/security.conf
RUN sed -i 's/expose_php = On/expose_php = Off/' /usr/local/etc/php/php.ini-production


Loading…
Cancel
Save