Skip to content

Instantly share code, notes, and snippets.

@mickaelandrieu
Created April 23, 2019 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mickaelandrieu/daa5acfff0ea7b81dc6282b46b24e7f9 to your computer and use it in GitHub Desktop.
Save mickaelandrieu/daa5acfff0ea7b81dc6282b46b24e7f9 to your computer and use it in GitHub Desktop.
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