-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (50 loc) · 1.27 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
version: "2.4"
services:
reverse_proxy:
image: tables_correspondances_reverse_proxy
container_name: tables_correspondances_reverse_proxy
build:
context: reverse_proxy
mem_limit: 256m
restart: unless-stopped
ports:
- 80:80
networks:
- tables_correspondances_network
depends_on:
- server
- ui
ui:
image: tables_correspondances_ui
container_name: tables_correspondances_ui
build:
context: ui
mem_limit: 256m
networks:
- tables_correspondances_network
depends_on:
- server
server:
image: tables_correspondances_server
container_name: tables_correspondances_server
build:
context: server
mem_limit: 2g
restart: unless-stopped
networks:
- tables_correspondances_network
depends_on:
- mongodb
environment:
- TABLES_CORRESPONDANCES_MONGODB_URI=mongodb://mongodb:27017/tables-correspondances?retryWrites=true&w=majority
mongodb:
image: mongo:5.0.2-focal
container_name: tables_correspondances_mongodb
command: --wiredTigerCacheSizeGB 1.8
mem_limit: 2g
restart: unless-stopped
networks:
- tables_correspondances_network
networks:
tables_correspondances_network:
name: tables_correspondances_network