Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
Oliver Davies | 4138112e4c |
|
@ -32,10 +32,14 @@ RUN apt-get update -yqq \
|
|||
&& rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/man \
|
||||
&& apt-get clean
|
||||
|
||||
RUN pecl install xdebug
|
||||
|
||||
RUN docker-php-ext-configure gd --with-jpeg
|
||||
|
||||
RUN docker-php-ext-install gd pdo_mysql zip
|
||||
|
||||
RUN docker-php-ext-enable xdebug
|
||||
|
||||
COPY --chown=app:app phpunit.xml* ./
|
||||
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
services:
|
||||
php-fpm:
|
||||
php:
|
||||
environment:
|
||||
XDEBUG_MODE: ${XDEBUG_MODE:-off}
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
web:
|
||||
ports:
|
||||
- "80:80"
|
||||
host.docker.internal: host-gateway
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
xdebug.mode=develop,debug
|
||||
xdebug.client_host=host.docker.internal
|
||||
xdebug.discover_client_host=0
|
||||
xdebug.output_dir=/tmp/xdebug
|
||||
xdebug.log=/tmp/xdebug/xdebug-docker-drupal-example.log
|
||||
xdebug.start_with_request=yes
|
||||
|
|
Loading…
Reference in a new issue