-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
57 lines (53 loc) · 909 Bytes
/
docker-compose.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Web Server
web:
build: ./
ports:
- "50080:80"
links:
- mysqldb
- redis
- blackfire
- mail
volumes:
- ./:/data:cached
env_file:
- .docker.env
- .docker.local.env
# Command Line Tools
cli:
build: ./
links:
- mysqldb
- redis
- mail
volumes:
- ./:/data:cached
env_file:
- .docker.env
- .docker.local.env
# MySQL
mysqldb:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: dev
ports:
- "53306:3306"
# Redis
redis:
image: redis:latest
ports:
- "56379:6379"
# Profiler
blackfire:
image: blackfire/blackfire
ports:
- "8707:8707"
env_file:
- .docker.env
- .docker.local.env
# Mail
mail:
image: schickling/mailcatcher
ports:
- "50081:1080"