This repository has been archived by the owner on Mar 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
132 lines (123 loc) · 2.8 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
version: "3"
services:
mariadb:
container_name: qa-mariadb-10.1
environment:
#MYQSL_PASSWORD: root
#MYSQL_USER: root
MYSQL_ROOT_PASSWORD: root
image: "mariadb:10.1"
networks:
- web
ports:
- "3307:3306"
restart: always
volumes:
- "./db_data/mariadb-10.1:/var/lib/mysql"
mysql:
container_name: qa-mysql-5.7
environment:
#MYQSL_PASSWORD: root
#MYSQL_USER: root
MYSQL_ROOT_PASSWORD: root
image: "mysql:5.7"
networks:
- web
ports:
- "3306:3306"
restart: always
volumes:
- "./db_data/mysql-5.7:/var/lib/mysql"
phpmyadmin:
container_name: qa-phpmyadmin
environment:
- PMA_ARBITRARY=1
image: "phpmyadmin/phpmyadmin:latest"
networks:
- web
ports:
- "8100:80"
restart: always
php71:
build:
dockerfile: php-7.1.Dockerfile
context: ./php/dockerfiles/
args:
- APP_UID=${APP_UID:-1000}
- APP_GID=${APP_GID:-1000}
container_name: qa-php-7.1
restart: always
volumes:
- ./html/:/var/www/html
- ./php/config/php71/conf.d/php.ini:/usr/local/etc/php/conf.d/php.ini
ports:
- 8071:80
networks:
- web
php72:
build:
dockerfile: php-7.2.Dockerfile
context: ./php/dockerfiles/
args:
- APP_UID=${APP_UID:-1000}
- APP_GID=${APP_GID:-1000}
container_name: qa-php-7.2
restart: always
volumes:
- ./html/:/var/www/html
- ./php/config/php72/conf.d/php.ini:/usr/local/etc/php/conf.d/php.ini
ports:
- 8072:80
networks:
- web
php73:
build:
dockerfile: php-7.3.Dockerfile
context: ./php/dockerfiles/
args:
- APP_UID=${APP_UID:-1000}
- APP_GID=${APP_GID:-1000}
container_name: qa-php-7.3
restart: always
volumes:
- ./html/:/var/www/html
- ./php/config/php73/conf.d/php.ini:/usr/local/etc/php/conf.d/php.ini
ports:
- 8073:80
networks:
- web
php74:
build:
dockerfile: php-7.4.Dockerfile
context: ./php/dockerfiles/
args:
- APP_UID=${APP_UID:-1000}
- APP_GID=${APP_GID:-1000}
container_name: qa-php-7.4
restart: always
volumes:
- ./html/:/var/www/html
- ./php/config/php74/conf.d/php.ini:/usr/local/etc/php/conf.d/php.ini
ports:
- 8074:80
networks:
- web
php80:
build:
dockerfile: php-8.0.Dockerfile
context: ./php/dockerfiles/
args:
- APP_UID=${APP_UID:-1000}
- APP_GID=${APP_GID:-1000}
container_name: qa-php-8.0
restart: always
volumes:
- ./html/:/var/www/html
- ./php/config/php80/conf.d/php.ini:/usr/local/etc/php/conf.d/php.ini
ports:
- 8008:80
networks:
- web
networks:
web:
external: true