forked from mikro-orm/mikro-orm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (46 loc) · 950 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
version: "3.4"
services:
# mongodb is managed via `run-rs`
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:10.8
ports:
- "3309:3306"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
volumes:
- mariadb:/var/lib/mysql
postgre:
image: postgres:14.2
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