-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
80 lines (75 loc) · 1.76 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
79
80
services:
reverse_proxy:
image: accompagnateur_reverse_proxy
container_name: accompagnateur_reverse_proxy
build:
context: reverse_proxy
mem_limit: 256m
restart: unless-stopped
ports:
- 80:80
networks:
- accompagnateur_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
- IS_LOCALHOST=0
ui:
image: accompagnateur_ui
container_name: accompagnateur_ui
build:
context: ./
dockerfile: ./ui/Dockerfile
mem_limit: 1g
restart: unless-stopped
networks:
- accompagnateur_network
depends_on:
- server
server:
image: accompagnateur_server
container_name: accompagnateur_server
build:
context: ./
dockerfile: ./server/Dockerfile
mem_limit: 1g
restart: unless-stopped
networks:
- accompagnateur_network
depends_on:
- mongodb
environment:
- ACCOMPAGNATEUR_LOG_DESTINATIONS=stdout,sql
- ACCOMPAGNATEUR_SQL_LOG_LEVEL=error
mongodb:
image: mongo:5.0.6-focal
container_name: accompagnateur_mongodb
mem_limit: 2g
restart: unless-stopped
networks:
- accompagnateur_network
metabase:
image: metabase/metabase:v0.48.6
container_name: accompagnateur_metabase
mem_limit: 2g
depends_on:
- mongodb
restart: always
networks:
- accompagnateur_network
networks:
accompagnateur_network:
name: accompagnateur_network