Nocturne Postgres Server

Nocturne Postgres Server is a dedicated PostgreSQL 17 database for the Nocturne diabetes-management platform, storing Nocturne data on the shared Nocturne…

  • Databases
  • Tools & Utilities
Nocturne Postgres Server is a dedicated PostgreSQL 17 database for the Nocturne diabetes-management platform, storing Nocturne data on the shared Nocturne custom network for homelabbers self-hosting the stack while requiring an empty data directory for initialization.

Platform availability

Available on 1 of 10 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

64/100 Good

Maintained
100last commit 21 days ago
Popular
44166 GitHub stars
Easy to install
251 install platform, install notes
Light to run
502 GB minimum RAM

Availability: platform listings confirmed today

GitHub stars
166
Open issues
188
Last commit
2026-11-11
Latest release
v0.3.0
Activity
rising

Checked 21 days ago - source: GitHub (nightscout/nocturne)

Resources & Compatibility

Minimum requirements: 2 GB RAM.

Checked 12 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Set up the Car Thing network On your computer, set the Car Thing's NDIS/USB network adapter to 172.16.42.1/24 and enable NAT (internet sharing for that adapter) for 172.16.42.0/24. Without this, the Car Thing has no internet path and setup can stop. source
  • Install the Terbium driver first If you are flashing from Windows, install the Terbium driver using the PowerShell installer from driver.terbium.app before flashing. It is needed to put the Car Thing into flashing mode; missing it can make the flash fail. source
  • First boot resets things to defaults The first boot automatically resets user data and system settings to defaults and then disables the first-boot flag. Let it finish without interfering; it keeps the new device from being confused by old data. source
  • Run prepare.sh before first start Run prepare.sh first to generate credentials and bootstrap files, and install all four Nocturne templates on the Nocturne custom network. Database initialization runs only on an empty data directory; do not reuse a Nightscout MongoDB directory. source
  • Empty data directory The container's data directory must be empty on first start so the database can initialise. source

Fetched 12 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

Will Aspire automatically start PostgreSQL for Nocturne?

Yes. Aspire can start PostgreSQL in a container and run database migrations automatically.

Does Nocturne support API_SECRET authentication?

Nocturne supports JWT-based authentication and API_SECRET support.

Do I need to expose the PostgreSQL port if Nocturne and the database run on the same home server?

If the app and PostgreSQL run on the same local machine, you do not need to expose PostgreSQL to Vercel or anyone else.

What backup responsibility applies when self-hosting Nocturne's PostgreSQL database?

You are responsible for backups, downtime, and patching. You should verify that you can restore from your backups.

Answers sourced from github.com, www.reddit.com, www.reddit.com

Community

No community discussions collected yet.