-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (58 loc) · 978 Bytes
/
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
version: '2'
services:
webclient:
build:
context: ./webclient
image: falco/webclient:latest
ports:
- "80:80"
mem_limit: 128M
logging:
driver: json-file
networks:
- front
app:
build:
context: ./webserver/app
image: falco/app:latest
depends_on:
- messagebus
- db
mem_limit: 256M
logging:
driver: json-file
networks:
- back
proxyandloadbalancer:
image: nginx:latest
volumes:
- ./webserver/loadbalancer:/etc/nginx:rw
mem_limit: 128M
ports:
- "81:81"
depends_on:
- app
networks:
- back
- front
messagebus:
image: redis:latest
mem_limit: 256M
networks:
- back
db:
image: mongo:3.5.9
mem_limit: 256M
volumes:
- db-data:/data/db
logging:
driver: json-file
networks:
- back
networks:
front:
driver: bridge
back:
driver: bridge
volumes:
db-data: