forked from mikro-orm/mikro-orm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
72 lines (66 loc) · 1.3 KB
/
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: "3.4"
services:
mongo:
image: mongo:7.0
expose:
- 27017
ports:
- "27017:27017"
restart: always
mysql8:
image: mysql:8.3-oracle
restart: unless-stopped
ports:
- "3308:3306"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
command: [
"mysqld",
"--default-authentication-plugin=mysql_native_password",
"--innodb_file_per_table=0",
"--innodb_doublewrite=0",
"--skip-name-resolve"
]
volumes:
- mysql8:/var/lib/mysql
mariadb:
image: mariadb:11.2
ports:
- "3309:3306"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
volumes:
- mariadb:/var/lib/mysql
postgre:
image: postgres:16.2
ports:
- "5432:5432"
volumes:
- postgre:/var/lib/postgresql/data
environment:
POSTGRES_HOST_AUTH_METHOD: trust
postgis:
image: imresamu/postgis:16-3.4
ports:
- "5433:5432"
volumes:
- postgis:/var/lib/postgresql/data
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
mysql8:
driver_opts:
type: tmpfs
device: tmpfs
mariadb:
driver_opts:
type: tmpfs
device: tmpfs
postgre:
driver_opts:
type: tmpfs
device: tmpfs
postgis:
driver_opts:
type: tmpfs
device: tmpfs