-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (35 loc) · 1.05 KB
/
docker-compose.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
version: "3"
services:
database:
image: 'mongo'
environment:
- 'MONGO_INITDB_ROOT_USERNAME=admin'
- 'MONGO_INITDB_ROOT_PASSWORD=${MONGO_PW}'
volumes:
- './mongo:/data/db'
restart: always
nightscout:
build:
context: https://github.com/nightscout/cgm-remote-monitor.git
dockerfile: Dockerfile
environment:
- 'API_SECRET=${API_SECRET}'
- 'MONGODB_URI=mongodb://admin:${MONGO_PW}@${DIRECTORY}_database_1/admin'
- 'PORT=1337'
- 'BG_HIGH=180'
- 'BG_LOW=70'
- 'BG_TARGET_BOTTOM=70'
- 'BG_TARGET_TOP=180'
- 'CUSTOM_TITLE=${APP_NAME}'
- 'DEVICESTATUS_ADVANCED=true'
- 'DISPLAY_UNITS=mmol/L'
- 'ENABLE=food loop pump careportal basal bwp iob cob sage delta direction upbat timeago profile rawbg basal alexa maker cage iage bgi openaps bridge'
- 'TIME_FORMAT=24'
- 'THEME=colors'
- 'BASAL_RENDER=default'
- 'AUTH_DEFAULT_ROLES=denied'
depends_on:
- database
ports:
- '${NS_PORT}:1337'
restart: always