-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (48 loc) · 918 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (48 loc) · 918 Bytes
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
39
40
41
42
43
44
45
46
47
48
49
version: '2'
services:
web:
build:
context: ./containers/
dockerfile: web.docker
volumes:
- ./:/var/www
ports:
- "80:80"
links:
- app
app:
build:
context: ./containers/
dockerfile: app.docker
volumes:
- ./:/var/www
ports:
- "9000"
links:
- blackfire
- db
environment:
XDEBUG_HOST: ${XDEBUG_HOST}
blackfire:
image: blackfire/blackfire
environment:
- BLACKFIRE_SERVER_ID
- BLACKFIRE_SERVER_TOKEN
- BLACKFIRE_LOG_LEVEL=4
db:
image: mysql:5.7
environment:
MYSQL_DATABASE: webapp
MYSQL_USER: webapp
MYSQL_PASSWORD: secret
MYSQL_ROOT_PASSWORD: secret
ports:
- "3306:3306"
redis:
image: redis:3.2-alpine
ports:
- "6379:6379"
selenium:
image: selenium/standalone-chrome:3.4.0-einsteinium
ports:
- "4444:4444"