Merge pull request #7915 from wallabag/make-blackfire-completely-optional

Make Blackfire completely optional
This commit is contained in:
Yassine Guedidi 2024-12-22 11:30:16 +01:00 committed by GitHub
commit 59831166ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 8 deletions

1
.gitignore vendored
View file

@ -38,6 +38,7 @@ web/uploads/
# Development # Development
docker/php/env docker/php/env
docker/php/blackfire
# Composer PHAR # Composer PHAR
/composer.phar /composer.phar

View file

@ -31,8 +31,8 @@ services:
# - ./docker/postgres/env # - ./docker/postgres/env
# Uncomment to enable Xdebug # Uncomment to enable Xdebug
# - ./docker/php/xdebug # - ./docker/php/xdebug
- .env # Uncomment to enable Blackfire
- .env.local # - ./docker/php/blackfire
ports: ports:
- 8000:8000 - 8000:8000
# Uncomment to permit Xdebug remote session # Uncomment to permit Xdebug remote session
@ -76,12 +76,11 @@ services:
timeout: 3s timeout: 3s
retries: 3 retries: 3
blackfire: # blackfire:
image: blackfire/blackfire:2 # image: blackfire/blackfire:2
ports: [ "8307" ] # ports: [ "8307" ]
env_file: # env_file:
- .env # - ./docker/php/blackfire
- .env.local
volumes: volumes:
db-data: db-data: