-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
78 lines (73 loc) · 1.79 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: "2.4"
services:
reverse_proxy:
image: trajectoires_pro_reverse_proxy
container_name: trajectoires_pro_reverse_proxy
build:
context: reverse_proxy
mem_limit: 256m
restart: unless-stopped
ports:
- 80:80
networks:
- trajectoires_pro_network
depends_on:
- server
- ui
environment:
- PARANOIA=1
- ANOMALY_INBOUND=5
- ANOMALY_OUTBOUND=4
- DNS_SERVER=127.0.0.11
- PROXY=1
- PROXY_TIMEOUT=300
- TIMEOUT=300
- ACCESSLOG=/data/access.log
- ERRORLOG=/data/error.log
- LOGLEVEL=warn
- NGINX_ALWAYS_TLS_REDIRECT=false
- ALLOWED_METHODS=GET HEAD POST OPTIONS PUT DELETE
ui:
image: trajectoires_pro_ui
container_name: trajectoires_pro_ui
build:
context: ui
mem_limit: 1g
restart: unless-stopped
networks:
- trajectoires_pro_network
depends_on:
- server
server:
image: trajectoires_pro_server
container_name: trajectoires_pro_server
build:
context: server
mem_limit: 1g
restart: unless-stopped
networks:
- trajectoires_pro_network
depends_on:
- mongodb
environment:
- TRAJECTOIRES_PRO_MONGODB_URI=mongodb://mongodb:27017/trajectoires-pro?retryWrites=true&w=majority
- TRAJECTOIRES_PRO_LOG_DESTINATIONS=stdout,mongodb
mongodb:
image: mongo:5.0.6-focal
container_name: trajectoires_pro_mongodb
mem_limit: 2g
restart: unless-stopped
networks:
- trajectoires_pro_network
metabase:
image: metabase/metabase:v0.48.6
container_name: trajectoires_pro_metabase
mem_limit: 2g
depends_on:
- mongodb
restart: always
networks:
- trajectoires_pro_network
networks:
trajectoires_pro_network:
name: trajectoires_pro_network