forked from microrealestate/microrealestate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.microservices.dev.yml
80 lines (80 loc) · 2.54 KB
/
docker-compose.microservices.dev.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
version: "3.3"
services:
###############################################################################
# NGINX
###############################################################################
nginx:
volumes:
- ./config/nginx/etc/conf.d/dev.conf:/etc/nginx/conf.d/default.template
###############################################################################
# Authenticator
###############################################################################
authenticator:
build:
context: ./authenticator
dockerfile: dev.Dockerfile
volumes:
- ./authenticator:/usr/app
- /usr/app/node_modules
ports:
- "$AUTHENTICATOR_DEBUG_PORT:9226"
###############################################################################
# PDFGenerator
###############################################################################
pdfgenerator:
build:
context: ./pdfgenerator
dockerfile: dev.Dockerfile
volumes:
- ./pdfgenerator:/usr/app
- /usr/app/node_modules
ports:
- "$PDFGENERATOR_DEBUG_PORT:9227"
###############################################################################
# Emailer
###############################################################################
emailer:
build:
context: ./emailer
dockerfile: dev.Dockerfile
volumes:
- ./emailer:/usr/app
- /usr/app/node_modules
ports:
- "$EMAILER_DEBUG_PORT:9228"
###############################################################################
# Loca (Front/Back-end)
###############################################################################
loca:
build:
context: ./loca
dockerfile: dev.Dockerfile
volumes:
- ./loca:/usr/app
- /usr/app/node_modules
ports:
- "$LOCA_BACKEND_DEBUG_PORT:9229"
- "$LOCA_BROWSER_SYNC_UI_PORT:3001"
###############################################################################
# api
###############################################################################
api:
build:
context: ./api
dockerfile: dev.Dockerfile
volumes:
- ./api:/usr/app
- /usr/app/node_modules
ports:
- "$API_DEBUG_PORT:9230"
###############################################################################
# Frontend
###############################################################################
frontend:
build:
context: ./frontend
dockerfile: dev.Dockerfile
volumes:
- ./frontend:/usr/app
- /usr/app/node_modules
- /usr/app/public