Browse Source

[docker-compose] error_log

boyska 2 years ago
parent
commit
97da0be9f0
1 changed files with 5 additions and 0 deletions
  1. 5 0
      docker-compose.yaml

+ 5 - 0
docker-compose.yaml

@@ -4,6 +4,11 @@ services:
     php:
         build:
             context: .
+        environment:
+           - 'PHP_DISPLAY_ERRORS=0'
+           - 'PHP_LOG_ERRORS=1'
+           - 'PHP_ERROR_REPORTING=E_ALL'
+           - 'PHP_REPORT_MEMLEAKS=1'
         volumes:
             - ./:/app/public/
         ports: