From fb0aa4357de44f40e8084e14f231d6c67c383de1 Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Sun, 22 Dec 2024 00:16:01 +0100 Subject: [PATCH] Make Blackfire completely optional --- .gitignore | 1 + compose.yaml | 15 +++++++-------- .env => docker/php/blackfire.example | 0 3 files changed, 8 insertions(+), 8 deletions(-) rename .env => docker/php/blackfire.example (100%) diff --git a/.gitignore b/.gitignore index 9e9a525cc..8cd6a2922 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,7 @@ web/uploads/ # Development docker/php/env +docker/php/blackfire # Composer PHAR /composer.phar diff --git a/compose.yaml b/compose.yaml index 293263582..aa54f3c16 100644 --- a/compose.yaml +++ b/compose.yaml @@ -31,8 +31,8 @@ services: # - ./docker/postgres/env # Uncomment to enable Xdebug # - ./docker/php/xdebug - - .env - - .env.local + # Uncomment to enable Blackfire + # - ./docker/php/blackfire ports: - 8000:8000 # Uncomment to permit Xdebug remote session @@ -76,12 +76,11 @@ services: timeout: 3s retries: 3 - blackfire: - image: blackfire/blackfire:2 - ports: [ "8307" ] - env_file: - - .env - - .env.local + # blackfire: + # image: blackfire/blackfire:2 + # ports: [ "8307" ] + # env_file: + # - ./docker/php/blackfire volumes: db-data: diff --git a/.env b/docker/php/blackfire.example similarity index 100% rename from .env rename to docker/php/blackfire.example