Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Start the main service with XDebug disabled #2574

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,22 @@ DTT_MINK_DRIVER_ARGS="['chrome', null, 'http://selenium:4444/wd/hub']"
# production databases.
DOCKER_RESTORE_PRODUCTION=no

# Copy this variable in .env file and set the value to "True" in order to start
# the Docker web service with XDebug disabled. Note that you can anytime enable
# XDebug manually by issuing:
# $ docker-compose exec web phpenmod xdebug
# or disable it with:
# $ docker-compose exec web phpdismod xdebug
DISABLE_XDEBUG="False"

# Copy this variable in .env file and set the value to "True" in order to start
# the Docker web service with Blackfire disabled. Note that you can anytime
# enable Blackfire manually by issuing:
# $ docker-compose exec web phpenmod blackfire
# or disable it with:
# $ docker-compose exec web phpdismod blackfire
DISABLE_BLACKFIRE="False"

# Debugging
# TODO: The following vars were not tested. They were inherited from a previous
# Docker setup. To investigate if we still need them.
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ services:
ASDA_URL:
ASDA_USER:
ASDA_PASSWORD:
DISABLE_XDEBUG:
DISABLE_BLACKFIRE:
depends_on:
- mysql
- virtuoso
Expand Down