-
Notifications
You must be signed in to change notification settings - Fork 4
/
compose.yaml
53 lines (51 loc) · 1.19 KB
/
compose.yaml
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
services:
web:
depends_on:
- api
- model
build: ./Client
ports:
- 3000:3000
develop:
watch:
- path: ./Client/package.json
action: rebuild
- path: ./Client/package-lock.json
action: rebuild
- path: ./Client
target: /app
action: sync
api:
build: ./Server
ports:
- 4000:4000
environment:
DATABASE_URL: "mongodb+srv://mediquity:[email protected]/"
PORT: 4000
API_KEY: "516337169296598"
API_SECRET: "t_faj3i3WIEmu3lG8eWsdJlPpik"
CLOUD_NAME: "dvpulu3cc"
JWT_SECRET: "Mediquity"
MAIL_HOST: "smtp.gmail.com"
MAIL_USER: "[email protected]"
MAIL_PASS: "oildohkketrnioqd"
develop:
watch:
- path: ./Server/package.json
action: rebuild
- path: ./Server/package-lock.json
action: rebuild
- path: ./Server
target: /app
action: sync
model:
build: ./Model
ports:
- 5000:5000
develop:
watch:
- path: ./Model/requirements.txt
action: rebuild
- path: ./Model
target: /app
action: sync