-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
59 lines (50 loc) · 1.16 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
53
54
55
56
57
58
59
version: "2.3"
services:
web:
image: nginx:1.17
ports:
- "80:80"
volumes:
- ../:/var/www
- ./sites:/etc/nginx/conf.d
networks:
app:
aliases:
- php53.vm
- php56.vm
- php71.vm
php53:
build:
context: ./php/php53
volumes:
- ../:/var/www
- ./php/php53/php.conf:/usr/local/etc/php-fpm.conf
networks:
- app
php56:
build:
context: ./php/php56
volumes:
- ../:/var/www
- ./php/php56/php.conf:/usr/local/etc/php-fpm.d/php.conf
networks:
- app
php71:
build:
context: ./php/php71
volumes:
- ../:/var/www
- ./php/php71/php.conf:/usr/local/etc/php-fpm.d/php.conf
networks:
- app
database01:
image: mariadb:10
ports:
- 3306:3306
hostname: mariadb01
environment:
- MYSQL_ROOT_PASSWORD=root
networks:
- app
networks:
app: