-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
50 lines (45 loc) · 922 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
50 lines (45 loc) · 922 Bytes
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
version: '3'
services:
api:
container_name: 'smartkidney-api'
build:
context: .
dockerfile: Dockerfile
image: smk-api:1
environment:
- TZ=Asia/Bangkok
- DB_HOST
- DB_NAME
- DB_USERS_COL
- DB_BLOODPRESSURE_COL
- DB_GLOMERULARINFIL_COL
- DB_BLOODSUGAR_COL
- DB_BMI_COL
- DB_WATER_COL
- API_PORT
ports:
- "1323:1323"
networks:
- backend
db:
container_name: 'smartkidney-db'
image: 'mongo'
volumes:
- smartkidney_db:/data/db
environment:
- TZ=Asia/Bangkok
ports:
- '27017:27017'
networks:
- backend
doc:
image: swaggerapi/swagger-ui
container_name: "smartkidney-doc"
ports:
- "4040:8080"
environment:
API_URL: "https://atb-files.s3-ap-southeast-1.amazonaws.com/swagger.json"
volumes:
smartkidney_db:
networks:
backend: