-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
52 lines (52 loc) · 1.13 KB
/
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
version: '2'
services:
apache:
build: images/apache
links:
- php55:php55
- php56:php56
- php70:php70
volumes_from:
- datavol
ports:
- 80:80
- 8888:8888
hostname: apache
dns: 127.0.0.1
command: supervisord
php55:
build: images/php55
volumes_from:
- datavol
links:
- mysql
command: php-fpm -F
hostname: php55
php56:
build: images/php56
volumes_from:
- datavol
links:
- mysql
command: php-fpm -F
hostname: php56
php70:
build: images/php70
volumes_from:
- datavol
links:
- mysql
command: php-fpm -F
hostname: php70
datavol:
build: images/data
volumes:
- /Users/rmelo/work/docker/php-dublin/sites:/var/www/html
hostname: datavol
mysql:
image: mysql:5.6
hostname: mysql
environment:
- MYSQL_ROOT_PASSWORD=root
ports:
- 3306:3306