web/vendor/thecodingmachine/safe/performance/docker-compose.yml
2019-03-07 12:11:50 -06:00

19 lines
522 B
YAML

version: '3.3'
services:
php:
image: thecodingmachine/php:7.2-v1-apache
volumes:
- .:/var/www/html
ports:
- "8888:80"
environment:
PHP_EXTENSION_BLACKFIRE: 1
blackfire:
image: blackfire/blackfire
environment:
# Exposes the host BLACKFIRE_SERVER_ID and TOKEN environment variables.
- BLACKFIRE_SERVER_ID
- BLACKFIRE_SERVER_TOKEN
# You can also use global environment credentials :
# BLACKFIRE_SERVER_ID: SERVER-ID
# BLACKFIRE_SERVER_TOKEN: SERVER-TOKEN