This is a nomad job template for running the Nightscout Continuous Glucose Monitor (CGM) on 64-bit ARM platforms. I hope it serves as an example for anyone looking to use containerized Nightscout with the Hashi stack.
I've used this on Rasberry Pi 4Bs, and on AWS Graviton (T4g) instances.
I've included a separate Nomad job for Mongo in case you need it.
By default this uses @dhermann's docker image: https://hub.docker.com/r/dhermanns/rpi-nightscout
You can also use my own docker image: https://hub.docker.com/r/eyeoh/rpi-nightscout
- MongoDB
- Nomad
- Consul
- Reverse proxy for TLS termination
You can easily modify the Nomad jobs to run without Consul's service discovery and health check abilities. An alternate version of each has been supplied here to make it easier to get started.
- Make a single jobspec with both Nightscout and Mongo for simpler deployment for those who don't want to manage them seperately and treat them as a single service.