From 8d42d86270c49a9b84ddb495fa9eb9822cdd03d0 Mon Sep 17 00:00:00 2001 From: Valentino Lauciani Date: Thu, 18 Mar 2021 14:14:12 +0100 Subject: [PATCH] Update to solve the xdebug port problem. Issue: #2892 --- docker-compose.yml | 2 +- env-example | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e3a247c2..61d015ce 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -276,7 +276,7 @@ services: - ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}${APP_CODE_CONTAINER_FLAG} - docker-in-docker:/certs/client ports: - - "9003:9003" + - "${PHP_FPM_XDEBUG_PORT}:9003" expose: - "9000" extra_hosts: diff --git a/env-example b/env-example index aebc0b6e..f2d69808 100644 --- a/env-example +++ b/env-example @@ -259,6 +259,7 @@ PHP_FPM_AUDIOWAVEFORM=false PHP_FPM_ADDITIONAL_LOCALES="en_US.UTF-8 es_ES.UTF-8 fr_FR.UTF-8" PHP_FPM_INSTALL_DOCKER_CLIENT=false PHP_FPM_DEFAULT_LOCALE=POSIX +PHP_FPM_XDEBUG_PORT=9003 PHP_FPM_PUID=1000 PHP_FPM_PGID=1000