-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yml
63 lines (59 loc) · 1.92 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '3'
services:
cgm-remote-monitor:
image: liske/cgm-remote-monitor:14.0.6
environment:
## settings according to
## https://github.com/nightscout/cgm-remote-monitor/blob/master/README.md#environment
# MongoDB connection within the stack
- MONGO_CONNECTION=mongodb://mongo:27017/Nightscout
# admin secret
- API_SECRET=xxxxxxxx
# the URL to this Nightscout instance
- BASE_URL=https://ns.example.com/
# using a reverse proxy with SSL offloading
- INSECURE_USE_HTTP=true
# deny access by default
- AUTH_DEFAULT_ROLES=denied
# device info fields to show
- PUMP_FIELDS=reservoir battery status
# required for other plugins (i.e. upbat)
- DEVICESTATUS_ADVANCED=true
# enable plugins
- ENABLE=careportal delta direction upbat timeago pump bwg rawbg devicestatus openaps
# tune BG target and alarm ranges (since nightscout 13.0.0 in *display* units)
- BG_HIGH=12.5
- BG_TARGET_TOP=9.4
- BG_TARGET_BOTTOM=3.9
- BG_LOW=3.2
# website title by default
- CUSTOM_TITLE=Nightscout TL
# use SI units by default
- DISPLAY_UNITS=mmol
# use 24h time format by default
- TIME_FORMAT=24
# switch to "colors" theme by default
- THEME=colors
# switch to German by default
- LANGUAGE=de
# show basal rate by default
- BASAL_RENDER=default
# show plugins by default
- SHOW_PLUGINS=pump openaps
# do not allow treatment editing
- EDIT_MODE=off
# disable any alarms by default (if using Nightscout as time series visualization)
- ALARM_URGENT_HIGH=off
- ALARM_HIGH=off
- ALARM_URGENT_LOW=off
- ALARM_LOW=off
- ALARM_TIMEAGO_WARN=off
- ALARM_TIMEAGO_URGENT=off
ports:
- 1337:1337
depends_on:
- mongo
mongo:
image: mongo:3.20-xenial
volumes:
- ./mongodb:/data/db