Last active
January 3, 2024 07:37
-
-
Save scrivy/ecbab610ce2a71a6daad4aac72aad436 to your computer and use it in GitHub Desktop.
Nightscout butane configuration for Fedora CoreOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variant: fcos | |
version: 1.5.0 | |
passwd: | |
users: | |
- name: core | |
ssh_authorized_keys: | |
- ssh-rsa CHANGEME | |
storage: | |
files: | |
- path: /etc/containers/systemd/mongodb.container | |
contents: | |
inline: | | |
[Unit] | |
Description=mongodb | |
After=network-online.target | |
Wants=network-online.target | |
[Container] | |
Image=docker.io/mongo:4 | |
Network=host | |
Volume=mongodb:/data/db | |
[Install] | |
WantedBy=multi-user.target | |
- path: /etc/containers/systemd/nightscout.container | |
contents: | |
inline: | | |
[Unit] | |
Description=nightscout | |
After=network-online.target mongodb.service | |
Wants=network-online.target | |
[Container] | |
Image=docker.io/nightscout/cgm-remote-monitor:latest | |
Environment=TZ=America/Los_Angeles | |
Environment=INSECURE_USE_HTTP=true | |
Environment=SECURE_HSTS_HEADER=false | |
Environment=HOSTNAME=0.0.0.0 | |
Environment=MONGO_CONNECTION=mongodb://localhost:27017/nightscout | |
Environment=API_SECRET=CHANGEME | |
Environment=AUTH_DEFAULT_ROLES=readable | |
Environment=DISPLAY_UNITS=mg/dl | |
Network=host | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment