-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
64 lines (59 loc) · 1.8 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
services:
php:
image: id-bench-php
build:
context: .
dockerfile: docker/php/Dockerfile
volumes:
- .:/bench
environment:
MYSQL_CONNECTION_DSN: mysql:host=mysql_8_0;port=3306;dbname=bench;user=root;password=root
PERCONA_CONNECTION_DSN: mysql:host=percona_8_0;port=3306;dbname=bench;user=root;password=root
MARIADB_CONNECTION_DSN: mysql:host=mariadb_10_11;port=3306;dbname=bench;user=root;password=root
POSTGRES_CONNECTION_DSN: pgsql:host=postgres_15_2;port=5432;dbname=bench;user=root;password=root
MONGODB_CONNECTION_DSN: mongodb://mongodb_6_0:27017
mysql_8_0:
image: mysql:8.0.32
command: --default-authentication-plugin=mysql_native_password
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: bench
volumes:
- ./docker/mysql_8_0/initdb:/docker-entrypoint-initdb.d/
- ./docker/mysql_8_0/conf:/etc/mysql/conf.d/
percona_8_0:
image: percona:8.0.32-24
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: bench
volumes:
- ./docker/percona_8_0/initdb:/docker-entrypoint-initdb.d/
- ./docker/percona_8_0/conf:/etc/mysql/conf.d/
mariadb_10_11:
image: mariadb:10.11.2
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: bench
volumes:
- ./docker/mariadb_10_11/initdb:/docker-entrypoint-initdb.d/
- ./docker/mariadb_10_11/conf:/etc/mysql/conf.d/
postgres_15_2:
image: postgres:15.2-alpine
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: root
POSTGRES_USER: root
POSTGRES_DB: bench
volumes:
- ./docker/postgres_15_2/initdb:/docker-entrypoint-initdb.d/
mongodb_6_0:
image: mongo:6.0.5
ports:
- 27017:27017