-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yaml
135 lines (134 loc) · 4.12 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
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
133
134
135
services:
phpunit-8-1:
build: ./docker/php-8.1
networks:
- db-tools-test
volumes:
- ./:/var/www
environment:
PHP_IDE_CONFIG: ${PHP_IDE_CONFIG:-serverName=dbtoolsbundle}
XDEBUG_CONFIG: "client_host=host.docker.internal client_port=9000 log=/tmp/xdebug/xdebug.log output_dir=/tmp/xdebug start_with_request=trigger"
XDEBUG_MODE: "${XDEBUG_MODE:-debug}"
extra_hosts:
- "host.docker.internal:host-gateway"
phpunit-8-2:
build: ./docker/php-8.2
networks:
- db-tools-test
volumes:
- ./:/var/www
environment:
PHP_IDE_CONFIG: ${PHP_IDE_CONFIG:-serverName=dbtoolsbundle}
XDEBUG_CONFIG: "client_host=host.docker.internal client_port=9000 log=/tmp/xdebug/xdebug.log output_dir=/tmp/xdebug start_with_request=trigger"
XDEBUG_MODE: "${XDEBUG_MODE:-debug}"
extra_hosts:
- "host.docker.internal:host-gateway"
phpunit-8-3:
build: ./docker/php-8.3
networks:
- db-tools-test
volumes:
- ./:/var/www
environment:
PHP_IDE_CONFIG: ${PHP_IDE_CONFIG:-serverName=dbtoolsbundle}
XDEBUG_CONFIG: "client_host=host.docker.internal client_port=9000 log=/tmp/xdebug/xdebug.log output_dir=/tmp/xdebug start_with_request=trigger"
XDEBUG_MODE: "${XDEBUG_MODE:-debug}"
extra_hosts:
- "host.docker.internal:host-gateway"
phpunit-8-4:
build: ./docker/php-8.4
networks:
- db-tools-test
volumes:
- ./:/var/www
environment:
PHP_IDE_CONFIG: ${PHP_IDE_CONFIG:-serverName=dbtoolsbundle}
XDEBUG_CONFIG: "client_host=host.docker.internal client_port=9000 log=/tmp/xdebug/xdebug.log output_dir=/tmp/xdebug start_with_request=trigger"
XDEBUG_MODE: "${XDEBUG_MODE:-debug}"
extra_hosts:
- "host.docker.internal:host-gateway"
mysql57:
image: mysql:5.7
restart: 'no'
environment:
MYSQL_DATABASE: test_db
MYSQL_ROOT_USER: root
MYSQL_ROOT_PASSWORD: password
ports:
- 9501:3306
networks:
- db-tools-test
mysql80:
image: mysql:8.0
restart: 'no'
environment:
MYSQL_DATABASE: test_db
MYSQL_ROOT_PASSWORD: password
ports:
- 9502:3306
networks:
- db-tools-test
mysql83:
image: mysql:8.3
restart: 'no'
environment:
MYSQL_DATABASE: test_db
MYSQL_ROOT_PASSWORD: password
ports:
- 9508:3306
networks:
- db-tools-test
mariadb11:
image: mariadb:11.1.3
restart: 'no'
environment:
MYSQL_DATABASE: test_db
MARIADB_ROOT_PASSWORD: password
ports:
- 9503:3306
networks:
- db-tools-test
postgresql10:
image: postgres:10
restart: 'no'
environment:
POSTGRES_PASSWORD: password
ports:
- 9504:5432
networks:
- db-tools-test
postgresql16:
image: postgres:16
restart: 'no'
environment:
POSTGRES_PASSWORD: password
ports:
- 9505:5432
networks:
- db-tools-test
sqlsrv2019:
image: mcr.microsoft.com/mssql/server:2019-latest
restart: unless-stopped
environment:
ACCEPT_EULA: "y"
MSSQL_PID: Developer
MSSQL_SA_PASSWORD: P@ssword123
SA_PASSWORD: P@ssword123
ports:
- 9506:1433
networks:
- db-tools-test
sqlsrv2022:
image: mcr.microsoft.com/mssql/server:2022-latest
restart: unless-stopped
environment:
ACCEPT_EULA: "y"
MSSQL_PID: Developer
MSSQL_SA_PASSWORD: P@ssword123
SA_PASSWORD: P@ssword123
ports:
- 9507:1433
networks:
- db-tools-test
networks:
db-tools-test: