Skip to content

Commit

Permalink
Merge pull request #46 from ManatiCR/feature/allow-usage-php-memory-l…
Browse files Browse the repository at this point in the history
…imit-max-ex-time

Enables usage of PHP_MEMORY_LIMIT  and PHP_MAX_EXECUTION_TIME env variables
  • Loading branch information
rigoucr committed Feb 18, 2022
2 parents 4d30a3d + 752bfe8 commit 5fa8e33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/docker-compose.yml
Expand Up @@ -23,6 +23,8 @@ services:
environment:
- PHP_POST_MAX_SIZE=${PHP_POST_MAX_SIZE}
- PHP_UPLOAD_MAX_FILESIZE=${PHP_UPLOAD_MAX_FILESIZE}
- PHP_MEMORY_LIMIT=${PHP_MEMORY_LIMIT}
- PHP_MAX_EXECUTION_TIME=${PHP_MAX_EXECUTION_TIME}
- XDEBUG_ENABLE=${XDEBUG_ENABLE}
expose:
- "9000"
Expand Down
2 changes: 2 additions & 0 deletions env.example
Expand Up @@ -17,6 +17,8 @@ NGINX_TAG=alpine
PHP_TAG=7.4
PHP_POST_MAX_SIZE=100M
PHP_UPLOAD_MAX_FILESIZE=100M
PHP_MEMORY_LIMIT=256M
PHP_MAX_EXECUTION_TIME=120
XDEBUG_ENABLE=disable

# DB Container.
Expand Down

0 comments on commit 5fa8e33

Please sign in to comment.