-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (41 loc) · 1015 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (41 loc) · 1015 Bytes
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
services:
mysql:
image: mysql:8.0
container_name: pdo-wrapper-mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: pdo_wrapper_test
ports:
- "3306:3306"
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 5s
timeout: 5s
retries: 10
mariadb:
image: mariadb:10.11
container_name: pdo-wrapper-mariadb
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: pdo_wrapper_test
ports:
- "3307:3306"
healthcheck:
test: ["CMD", "mariadb-admin", "ping", "-h", "localhost"]
interval: 5s
timeout: 5s
retries: 10
postgres:
image: postgres:15
container_name: pdo-wrapper-postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: pdo_wrapper_test
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 10