-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yaml
More file actions
50 lines (49 loc) · 951 Bytes
/
docker-compose.dev.yaml
File metadata and controls
50 lines (49 loc) · 951 Bytes
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
version: "3.7"
services:
nestjs:
build:
context: ./nestjs
dockerfile: Dockerfile.dev
volumes:
- ./nestjs/src:/upco/src
ports:
- 3001:3000
env_file:
- ./.env
mysql:
image: mysql:latest
environment:
MYSQL_DATABASE: "upco"
MYSQL_ROOT_PASSWORD: "root"
TZ: "Asia/Seoul"
ports:
- 3306:3306
chat:
build:
context: ./chat
dockerfile: Dockerfile.dev
volumes:
- ./chat/index.js:/chat/index.js
- ./chat/socket.js:/chat/socket.js
ports:
- 4000:4000
env_file:
- ./.env
mongodb:
image: mongo:latest
environment:
MONGODB_DATABASE: "chat"
ports:
- 27017:27017
redis:
image: redis:latest
ports:
- 6379:6379
api-gateway:
build:
context: ./gateway
dockerfile: Dockerfile.dev
volumes:
- ./gateway/default.dev.conf:/etc/nginx/nginx.conf
ports:
- 80:80