-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
73 lines (69 loc) · 2.3 KB
/
docker-compose.override.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
# Override containers for local / dev environnement
version: "2.4"
services:
reverse_proxy:
volumes:
- trajectoires_pro_nginx_data:/data:z
- ./reverse_proxy/dev/includes:/etc/nginx/templates/includes/env
ui:
build:
dockerfile: ./Dockerfile.dev
args:
- METABASE_SECRET_KEY=${METABASE_SECRET_KEY}
- METABASE_SITE_URL=${METABASE_SITE_URL}
- METABASE_DASHBOARD_STATS_ID=${METABASE_DASHBOARD_STATS_ID}
- METABASE_DASHBOARD_STATS_DETAILS_ID=${METABASE_DASHBOARD_STATS_DETAILS_ID}
- METABASE_DASHBOARD_STATS_REGION_ID=${METABASE_DASHBOARD_STATS_REGION_ID}
- METABASE_METRICS_VIEWS=${METABASE_METRICS_VIEWS}
- NOTION_TOKEN=${NOTION_TOKEN}
mem_limit: 1g
stdin_open: true
volumes:
- trajectoires_pro_ui_data:/data:z
- /app/node_modules
- ./ui:/app:z
server:
command: ["yarn", "debug"]
ports:
- "127.0.0.1:9229:9229" # Allows remote debugging
volumes:
- trajectoires_pro_server_data:/data:z
- ./server/src:/app/src:z
environment:
- TRAJECTOIRES_PRO_ENV=dev
- TRAJECTOIRES_PRO_LOG_LEVEL=debug
- METABASE_SECRET_KEY=${METABASE_SECRET_KEY}
- METABASE_SITE_URL=${METABASE_SITE_URL}
- METABASE_DASHBOARD_STATS_ID=${METABASE_DASHBOARD_STATS_ID}
- METABASE_DASHBOARD_STATS_DETAILS_ID=${METABASE_DASHBOARD_STATS_DETAILS_ID}
- METABASE_DASHBOARD_STATS_REGION_ID=${METABASE_DASHBOARD_STATS_REGION_ID}
- METABASE_METRICS_VIEWS=${METABASE_METRICS_VIEWS}
- NOTION_TOKEN=${NOTION_TOKEN}
- OMOGEN_API_KEY=${OMOGEN_API_KEY}
mongodb:
ports:
- "127.0.0.1:27017:27017"
volumes:
- trajectoires_pro_mongodb_data:/data:z
metabase:
volumes:
- trajectoires_pro_metabase_data:/data:z
environment:
- MB_DB_FILE=/data/metabase.db
- MB_SITE_URL=http://localhost/metabase
volumes:
trajectoires_pro_mongodb_data:
driver: local
name: trajectoires_pro_mongodb_data
trajectoires_pro_nginx_data:
driver: local
name: trajectoires_pro_nginx_data
trajectoires_pro_server_data:
driver: local
name: trajectoires_pro_server_data
trajectoires_pro_ui_data:
driver: local
name: trajectoires_pro_ui_data
trajectoires_pro_metabase_data:
driver: local
name: trajectoires_pro_metabase_data