-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
80 lines (76 loc) · 1.93 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
74
75
76
77
78
79
80
# Override containers for local / dev environnement
services:
reverse_proxy:
environment:
- IS_LOCALHOST=1
volumes:
- accompagnateur_nginx_data:/data:z
- ./reverse_proxy/dev/includes:/etc/nginx/templates/includes/env
ui:
build:
dockerfile: ./ui/Dockerfile.dev
mem_limit: 1g
stdin_open: true
volumes:
- accompagnateur_ui_data:/data:z
- /app/node_modules
- ./ui:/app:z
server:
command: ["yarn", "dev"]
ports:
- "127.0.0.1:9229:9229" # Allows remote debugging
volumes:
- accompagnateur_server_data:/data:z
- ./server/src:/app/src:z
environment:
- ACCOMPAGNATEUR_ENV=dev
- ACCOMPAGNATEUR_LOG_LEVEL=debug
mongodb:
ports:
- "127.0.0.1:27017:27017"
volumes:
- accompagnateur_mongodb_data:/data:z
postgres:
image: postgis/postgis:16-3.4
command:
- "postgres"
- "-c"
- "shared_buffers=512MB"
- "-c"
- "work_mem=32MB"
shm_size: 1g
container_name: accompagnateur_postgres
restart: unless-stopped
networks:
- accompagnateur_network
environment:
- POSTGRES_PASSWORD=password
ports:
- "5432:5432"
volumes:
- accompagnateur_postgres_data:/var/lib/postgresql/data:z
metabase:
volumes:
- accompagnateur_metabase_data:/data:z
environment:
- MB_DB_FILE=/data/metabase.db
- MB_SITE_URL=http://localhost/metabase
volumes:
accompagnateur_mongodb_data:
driver: local
name: accompagnateur_mongodb_data
accompagnateur_postgres_data:
driver: local
name: accompagnateur_postgres_data
accompagnateur_nginx_data:
driver: local
name: accompagnateur_nginx_data
accompagnateur_server_data:
driver: local
name: accompagnateur_server_data
accompagnateur_ui_data:
driver: local
name: accompagnateur_ui_data
accompagnateur_metabase_data:
driver: local
name: accompagnateur_metabase_data