-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
48 lines (44 loc) · 1.15 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
# Override containers for local / dev environnement
version: "2.4"
services:
reverse_proxy:
volumes:
- tables_correspondances_nginx_data:/data:z
ui:
mem_limit: 1g
stdin_open: true
build:
context: ui
dockerfile: Dockerfile.dev
volumes:
# Allows source folders to be watched
- ./ui:/app
server:
build:
context: server
dockerfile: Dockerfile.dev
ports:
- "127.0.0.1:9229:9229" # Allows remote debugging
volumes:
- ./server:/app:z # Allows source folders to be watched
- tables_correspondances_server_data:/data:z
environment:
- TABLES_CORRESPONDANCES_ENV=dev
- TABLES_CORRESPONDANCES_LOG_LEVEL=debug
env_file:
- ./server/.env
mongodb:
ports:
- "127.0.0.1:27017:27017"
volumes:
- tables_correspondances_mongodb_data:/data:z
volumes:
tables_correspondances_mongodb_data:
driver: local
name: tables_correspondances_mongodb_data
tables_correspondances_nginx_data:
driver: local
name: tables_correspondances_nginx_data
tables_correspondances_server_data:
driver: local
name: tables_correspondances_server_data