forked from mikro-orm/mikro-orm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (52 loc) · 1023 Bytes
/
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
version: "3.4"
services:
mongo:
image: mongo:7.0
expose:
- 27017
ports:
- "27017:27017"
restart: always
mysql8:
image: mysql:8-oracle
restart: unless-stopped
ports:
- "3308:3306"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
command: [ "mysqld", "--default-authentication-plugin=mysql_native_password" ]
volumes:
- mysql8:/var/lib/mysql
mariadb:
image: mariadb:11.1
ports:
- "3309:3306"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
volumes:
- mariadb:/var/lib/mysql
postgre:
image: postgres:16.0
ports:
- "5432:5432"
volumes:
- postgre:/var/lib/postgresql/data
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
mysql8:
driver_opts:
type: tmpfs
device: tmpfs
mysql:
driver_opts:
type: tmpfs
device: tmpfs
mariadb:
driver_opts:
type: tmpfs
device: tmpfs
postgre:
driver_opts:
type: tmpfs
device: tmpfs