forked from GMaissa/cem-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
38 lines (34 loc) · 937 Bytes
/
docker-compose-dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '2'
services:
db:
ports:
- "${PROJECT_PORT_PREFIX}3306:3306"
mailcatcher:
image: schickling/mailcatcher
ports:
- "${PROJECT_PORT_PREFIX}1080:1080"
engine:
depends_on:
- mailcatcher
volumes:
- "./config/docker/engine/scripts:/scripts"
entrypoint: /scripts/entrypoint.sh
command: php-fpm7.1 -F
environment:
# BLACKFIRE profiling
BLACKFIRE_ENABLE: 1
# XDEBUG BROWSER debugging
XDEBUG_REMOTE_HOST: ${XDEBUG_REMOTE_HOST}
XDEBUG_IDEKEY: ${XDEBUG_IDEKEY}
# XDEBUG CLI debugging
XDEBUG_CONFIG: idekey=${XDEBUG_IDEKEY} remote_host=${XDEBUG_REMOTE_HOST}
PHP_IDE_CONFIG: serverName=localhost
nginx:
ports:
- "${PROJECT_PORT_PREFIX}0080:80"
- "${PROJECT_PORT_PREFIX}0443:443"
blackfire:
image: blackfire/blackfire
environment:
- 'BLACKFIRE_SERVER_ID'
- 'BLACKFIRE_SERVER_TOKEN'