-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
106 lines (95 loc) · 2.54 KB
/
docker-compose.yaml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
version: '3'
name: docker-development-setup
services:
php56:
container_name: php56
build:
context: php/56
volumes:
- "./websites:/var/www"
- "./php/php-fpm.conf:/usr/local/etc/php-fpm.conf"
- "./php/www.conf:/usr/local/etc/php-fpm.d/www.conf"
php70:
build:
context: php/70
container_name: php70
volumes:
- "./websites:/var/www"
- "./php/php-fpm.conf:/usr/local/etc/php-fpm.conf"
- "./php/www.conf:/usr/local/etc/php-fpm.d/www.conf"
php71:
build:
context: php/71
container_name: php71
volumes:
- "./websites:/var/www"
- "./php/php-fpm.conf:/usr/local/etc/php-fpm.conf"
- "./php/www.conf:/usr/local/etc/php-fpm.d/www.conf"
php72:
build:
context: php/72
container_name: php72
volumes:
- "./websites:/var/www"
- "./php/php-fpm.conf:/usr/local/etc/php-fpm.conf"
- "./php/www.conf:/usr/local/etc/php-fpm.d/www.conf"
php73:
build:
context: php/73
container_name: php73
volumes:
- "./websites:/var/www"
- "./php/php-fpm.conf:/usr/local/etc/php-fpm.conf"
- "./php/www.conf:/usr/local/etc/php-fpm.d/www.conf"
php74:
build:
context: php/74
container_name: php74
volumes:
- "./websites:/var/www"
- "./php/php-fpm.conf:/usr/local/etc/php-fpm.conf"
- "./php/www.conf:/usr/local/etc/php-fpm.d/www.conf"
php80:
build:
context: php/80
container_name: php80
volumes:
- "./websites:/var/www"
- "./php/php-fpm.conf:/usr/local/etc/php-fpm.conf"
- "./php/www.conf:/usr/local/etc/php-fpm.d/www.conf"
php81:
build:
context: php/81
container_name: php81
volumes:
- "./websites:/var/www"
- "./php/php-fpm.conf:/usr/local/etc/php-fpm.conf"
- "./php/www.conf:/usr/local/etc/php-fpm.d/www.conf"
php82:
build:
context: php/82
container_name: php82
volumes:
- "./websites:/var/www"
- "./php/php-fpm.conf:/usr/local/etc/php-fpm.conf"
- "./php/www.conf:/usr/local/etc/php-fpm.d/www.conf"
nginx:
container_name: nginx
image: nginx:1.23.3-alpine
volumes:
- "./nginx/nginx.conf:/etc/nginx/nginx.conf"
- "./nginx/conf.d:/etc/nginx/conf.d"
- "./nginx/sites-available:/etc/nginx/sites-enabled"
- "./websites:/var/www"
ports:
- 80:80
mysql:
container_name: mysql
image: mysql:8.0.32-debian
volumes:
- mysql-data:/var/lib/mysq/
environment:
MYSQL_ROOT_PASSWORD: admin
volumes:
mysql-data:
name: mysql-data