-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
72 lines (65 loc) · 1.24 KB
/
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.9'
networks:
blog:
name: blog
services:
client:
image: node:alpine
entrypoint: sh -c 'yarn install && yarn start; tail -f'
working_dir: /ws/client
volumes:
- .:/ws
ports:
- 3000:3000
networks:
- blog
posts:
image: node:alpine
entrypoint: sh -c 'yarn install && yarn start; tail -f'
working_dir: /ws/posts
volumes:
- .:/ws
ports:
- 4000:4000
networks:
- blog
comments:
image: node:alpine
entrypoint: sh -c 'yarn install && yarn start; tail -f'
working_dir: /ws/comments
volumes:
- .:/ws
ports:
- 4001:4001
networks:
- blog
query:
image: node:alpine
entrypoint: sh -c 'yarn install && yarn start; tail -f'
working_dir: /ws/query
volumes:
- .:/ws
ports:
- 4002:4002
networks:
- blog
event-bus:
image: node:alpine
entrypoint: sh -c 'yarn install && yarn start; tail -f'
working_dir: /ws/event-bus
volumes:
- .:/ws
ports:
- 4005:4005
networks:
- blog
moderation:
image: node:alpine
entrypoint: sh -c 'yarn install && yarn start; tail -f'
working_dir: /ws/moderation
volumes:
- .:/ws
ports:
- 4003:4003
networks:
- blog