Skip to content
Permalink
Browse files

Disable xdebug

  • Loading branch information...
REBELinBLUE committed Jun 13, 2018
1 parent 660ba34 commit 2e59aee7b68c051e332ab06cfc2471e3fb5b5f75
Showing with 6 additions and 5 deletions.
  1. +1 −0 .gitignore
  2. +2 −1 docker-compose.yml
  3. +2 −1 docker/php-fpm/Dockerfile
  4. +1 −3 docker/php-fpm/php-ini-overrides.ini
@@ -13,6 +13,7 @@ _ide_helper.php
_ide_helper_models.php
.phpstorm.meta.php
coverage.xml
docker-compose.override.yml

# Composer files
composer.phar
@@ -96,7 +96,8 @@ services:
working_dir: /application
volumes:
- .:/application
- ./docker/php-fpm/php-ini-overrides.ini:/etc/php/7.1/fpm/conf.d/99-overrides.ini
# To enable xdebug, copy this file to docker-compose.override.yml and uncomment the following line
#- ./docker/php-fpm/php-ini-overrides.ini:/etc/php/7.1/fpm/conf.d/99-overrides.ini
links:
- beanstalkd
- mailhog
@@ -7,6 +7,7 @@ RUN apt-get update \
&& apt-get -y --no-install-recommends install php7.2-fpm php7.2-cli php7.2-mysql php7.2-sqlite3 php7.2-readline \
php7.2-gd php7.2-curl php7.2-mbstring php7.2-phpdbg \
php-xhprof php-xdebug \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* \
&& phpdismod xdebug

WORKDIR "/application"
@@ -1,6 +1,4 @@
upload_max_filesize = 100M
post_max_size = 108M

zend_extension=/usr/lib/php/20170718/xdebug.so
xdebug.remote_enable = On
xdebug.remote_host = 10.254.254.254
xdebug.remote_autostart = On

0 comments on commit 2e59aee

Please sign in to comment.
You can’t perform that action at this time.