Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Aug 14, 2024
1 parent 78e5f55 commit 49d196c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions 8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,8 @@ ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2

ENV SENTRY_SAMPLE_RATE=0

ENV PHP_MEMORY_LIMIT=256M
ENV PHP_POST_MAX_SIZE=50M
ENV PHP_UPLOAD_MAX_FILESIZE=50M

EXPOSE 80
6 changes: 3 additions & 3 deletions 8.2/php.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
expose_php = Off

; TODO: maybe configurable
memory_limit = ${PHP_MEMORY_LIMIT:-256M}
memory_limit = ${PHP_MEMORY_LIMIT}

; TODO: maybe configurable
post_max_size = ${PHP_MEMORY_LIMIT:-50M}
post_max_size = ${PHP_POST_MAX_SIZE}

; TODO: maybe configurable
upload_max_filesize = ${PHP_UPLOAD_MAX_FILESIZE:-50M}
upload_max_filesize = ${PHP_UPLOAD_MAX_FILESIZE}

[opcache]
; Determines if Zend OPCache is enabled
Expand Down

0 comments on commit 49d196c

Please sign in to comment.