forked from hishamshikha/crud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (51 loc) · 1.1 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
version: '3'
networks:
nestjsx_crud:
services:
postgres:
# TypeORM fails with Postgres v.12
image: postgres:11.5
ports:
- 5455:5432
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: nestjsx_crud
networks:
- nestjsx_crud
postresql_sequelize:
image: postgres
ports:
- 5456:5432
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: nestjsx_crud_sequelize
networks:
- nestjsx_crud
mysql:
platform: linux/x86_64
image: mysql:5.7
ports:
- 3316:3306
environment:
MYSQL_DATABASE: nestjsx_crud
MYSQL_USER: nestjsx_crud
MYSQL_PASSWORD: nestjsx_crud
MYSQL_ROOT_PASSWORD: nestjsx_crud
mysql_sequelize:
image: mysql:5.7
ports:
- 3317:3306
environment:
MYSQL_DATABASE: nestjsx_crud_sequelize
MYSQL_USER: nestjsx_crud
MYSQL_PASSWORD: nestjsx_crud
MYSQL_ROOT_PASSWORD: nestjsx_crud
redis:
image: redis:alpine
ports:
- 6399:6379
command: redis-server
networks:
- nestjsx_crud