-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
82 lines (74 loc) · 1.49 KB
/
docker-compose.dev.yml
File metadata and controls
82 lines (74 loc) · 1.49 KB
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
73
74
75
76
77
78
79
80
81
82
version: '3.9'
services:
client:
build:
context: ./client
dockerfile: Dockerfile.dev
ports:
- '3000:5173'
volumes:
- ./client:/usr/app
- /usr/app/build
- /usr/app/node_modules
event-bus:
build:
context: ./event-bus
dockerfile: Dockerfile.dev
ports:
- '4010:4010'
volumes:
- ./event-bus:/usr/app
- /usr/app/node_modules
events:
build:
context: ./events
dockerfile: Dockerfile.dev
ports:
- '3004:3004'
volumes:
- ./events:/usr/app
- /usr/app/node_modules
gmail:
build:
context: ./gmail
dockerfile: Dockerfile.dev
ports:
- '3002:3002'
volumes:
- ./gmail:/usr/app
- /usr/app/node_modules
people:
build:
context: ./people
dockerfile: Dockerfile.dev
ports:
- '3001:3001'
volumes:
- ./people:/usr/app
- /usr/app/node_modules
yelp:
build:
context: ./yelp
dockerfile: Dockerfile.dev
ports:
- '3003:3003'
volumes:
- ./yelp:/usr/app
- /usr/app/node_modules
events-db:
image: mongo:latest
volumes:
- events-data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: eventadmin
MONGO_INITDB_ROOT_PASSWORD: event
people-db:
image: mongo:latest
volumes:
- people-data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: people
MONGO_INITDB_ROOT_PASSWORD: password
volumes:
events-data:
people-data: