From f4158953dba81138952bbe03f74e6c55602a7a43 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 5 Jun 2023 12:21:55 +0200 Subject: [PATCH] wip #5991 @0.5 --- Dockerfile | 1 - docker-compose.yml | 2 ++ overrides.conf => php/fpm.conf | 0 php/php.ini | 4 ++++ 4 files changed, 6 insertions(+), 1 deletion(-) rename overrides.conf => php/fpm.conf (100%) create mode 100644 php/php.ini diff --git a/Dockerfile b/Dockerfile index c1d4220..333570a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends gnupg \ less nano wget bash lynx COPY --from=composer:2 /usr/bin/composer /usr/bin/composer -COPY overrides.conf /etc/php/8.2/fpm/pool.d/z-overrides.conf COPY --chmod=755 startup /usr/bin/startup CMD exec /usr/bin/startup STOPSIGNAL SIGQUIT diff --git a/docker-compose.yml b/docker-compose.yml index 1a34499..b154345 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,8 @@ services: volumes: - './app/:/application/' - './ssh/:/root/.ssh/' + - './php/fpm.conf:/etc/php/8.2/fpm/pool.d/z-overrides.conf' + - './php/php.ini:/etc/php/8.2/fpm/conf.d/99-overrides.ini' ports: - '9457:9000' restart: unless-stopped diff --git a/overrides.conf b/php/fpm.conf similarity index 100% rename from overrides.conf rename to php/fpm.conf diff --git a/php/php.ini b/php/php.ini new file mode 100644 index 0000000..05ea61b --- /dev/null +++ b/php/php.ini @@ -0,0 +1,4 @@ +error_log = /proc/self/fd/2 +log_errors = 1 +memory_limit = 12G +max_input_vars = 1000000 \ No newline at end of file -- 2.39.5