Browse Source

fixed xdebug

tyson 1 year ago
parent
commit
59bb88e17a
1 changed files with 5 additions and 0 deletions
  1. 5 0
      docker-compose.yml

+ 5 - 0
docker-compose.yml

@@ -13,8 +13,13 @@ services:
     image: srcl/local-dev-env
     ports:
       - 80:80
+    expose:
+      - 9003
     volumes:
       - ./app:/var/www/html
+      - ./docker/phpconfig/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
+      - ./docker/phpconfig/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
+      - ./docker/phpconfig/error_reporting.ini:/usr/local/etc/php/conf.d/error_reporting.ini
       - /var/www/html/vendor/
 
   database: