Permalink
Browse files

Move xdebug config in docker-compose

  • Loading branch information...
REBELinBLUE committed Aug 28, 2018
1 parent 5249f37 commit b69f95cf3340276a5fb4416aaf0fbdc01a7eac4a
Showing with 10 additions and 4 deletions.
  1. +8 −0 docker-compose.dev.yml
  2. +1 −2 docker-compose.yml
  3. +0 −2 docker/php-fpm/php-ini-overrides.ini
  4. +1 −0 docker/php-fpm/xdebug.ini
View
@@ -0,0 +1,8 @@
version: "3.1"
services:
php-fpm:
environment:
XDEBUG_CONFIG: remote_host=host.docker.internal
volumes:
- "./docker/php/xdebug.ini:/usr/local/etc/php/conf.d/98-xdebug.ini"
View
@@ -96,8 +96,7 @@ services:
working_dir: /application
volumes:
- .:/application
# 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
- ./docker/php-fpm/php-ini-overrides.ini:/etc/php/7.1/fpm/conf.d/99-overrides.ini
links:
- beanstalkd
- mailhog
@@ -1,6 +1,4 @@
zend_extension=/usr/lib/php/20170718/xdebug.so
xdebug.remote_enable = On
xdebug.remote_host = 10.254.254.254
xdebug.remote_autostart = On
xdebug.remote_connect_back = Off
;xdebug.profiler_output_dir = "/var/www/html"
@@ -0,0 +1 @@
zend_extension=/usr/lib/php/20170718/xdebug.so

0 comments on commit b69f95c

Please sign in to comment.