Created
April 23, 2019 13:02
-
-
Save mickaelandrieu/daa5acfff0ea7b81dc6282b46b24e7f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
nginx: | |
image: nginx:1-alpine | |
env_file: .env | |
depends_on: | |
- php | |
- blackfire | |
ports: | |
- 8000:80 | |
volumes: | |
- .:/var/www/html:rw,cached | |
- ./docker/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf:ro | |
tty: true | |
php: | |
build: docker/php | |
env_file: .env | |
volumes: | |
- .:/var/www/html:rw,cached | |
- ./docker/php/conf.d/custom.ini:/usr/local/etc/php/conf.d/custom.ini:ro | |
tty: true | |
blackfire: | |
image: blackfire/blackfire | |
env_file: .env | |
environment: | |
# Exposes the host BLACKFIRE_SERVER_ID and TOKEN environment variables. | |
- BLACKFIRE_SERVER_ID | |
- BLACKFIRE_SERVER_TOKEN | |
- BLACKFIRE_CLIENT_ID | |
- BLACKFIRE_CLIENT_TOKEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment