-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
64 lines (57 loc) · 1.11 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
version: '3.9'
services:
base-node:
image: base-node
build:
context: .
dockerfile: Dockerfile
mongo:
image: mongo
ports:
- 27016:27017
networks:
- app-net
gateway:
image: base-node
ports:
- 3032:3032
networks:
- app-net
environment:
- APP_NAME=api-gateway
command: './init.sh'
volumes:
- './apps:/project/apps:ro'
- './libs:/project/libs:ro'
auth-service:
image: base-node
networks:
- app-net
environment:
- APP_NAME=auth-service
command: './init.sh'
volumes:
- './apps:/project/apps:ro'
- './libs:/project/libs:ro'
user-service:
image: base-node
networks:
- app-net
environment:
- APP_NAME=user-service
command: './init.sh'
volumes:
- './apps:/project/apps:ro'
- './libs:/project/libs:ro'
todo-service:
image: base-node
networks:
- app-net
environment:
- APP_NAME=todo-service
command: './init.sh'
volumes:
- './apps:/project/apps:ro'
- './libs:/project/libs:ro'
networks:
app-net: