Add Reference section with 24 technical reference cards
Phase 2 of documentation restructuring. Creates docs/reference/ with:
Services (16):
- alloy, argocd, borgmatic, 1password, forgejo, grafana
- jellyfin, kiwix, loki, miniflux, navidrome, postgresql
- prometheus, teslamate, transmission, zot
Infrastructure (3):
- hosts - Device inventory
- tailscale - ACLs, groups, tags
- routing - DNS domains and port mappings
Kubernetes (2):
- cluster - Minikube specs
- apps - ArgoCD application registry
Storage (2):
- sifaka - Synology NAS configuration
- backups - Backup policy
All cards use wiki-links for cross-referencing and include YAML
frontmatter with title and tags for Quartz.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 13:22:19 -08:00
---
title: PostgreSQL
tags:
- service
- database
---
# PostgreSQL
Database cluster via CloudNativePG operator.
## Quick Reference
| Property | Value |
|----------|-------|
| **URL ** | `tcp://pg.ops.eblu.me:5432` |
| **Metrics ** | `http://cnpg-metrics.tail8d86e.ts.net:9187/metrics` |
| **Namespace ** | `databases` |
| **Cluster ** | `blumeops-pg` |
| **Operator ** | CloudNativePG |
## Databases
| Database | Owner | Purpose |
|----------|-------|---------|
2026-02-03 13:44:26 -08:00
| miniflux | miniflux | [[services/miniflux|Miniflux]] feed data |
| teslamate | teslamate | [[services/teslamate|TeslaMate]] vehicle data |
Add Reference section with 24 technical reference cards
Phase 2 of documentation restructuring. Creates docs/reference/ with:
Services (16):
- alloy, argocd, borgmatic, 1password, forgejo, grafana
- jellyfin, kiwix, loki, miniflux, navidrome, postgresql
- prometheus, teslamate, transmission, zot
Infrastructure (3):
- hosts - Device inventory
- tailscale - ACLs, groups, tags
- routing - DNS domains and port mappings
Kubernetes (2):
- cluster - Minikube specs
- apps - ArgoCD application registry
Storage (2):
- sifaka - Synology NAS configuration
- backups - Backup policy
All cards use wiki-links for cross-referencing and include YAML
frontmatter with title and tags for Quartz.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 13:22:19 -08:00
## Users
| User | Role | Purpose |
|------|------|---------|
| postgres | superuser | CNPG internal |
| miniflux | app owner | Owns miniflux database |
| teslamate | superuser | TeslaMate (needs extensions) |
| eblume | superuser | Admin access |
2026-02-03 13:44:26 -08:00
| borgmatic | pg_read_all_data | [[services/borgmatic|Backup]] access |
Add Reference section with 24 technical reference cards
Phase 2 of documentation restructuring. Creates docs/reference/ with:
Services (16):
- alloy, argocd, borgmatic, 1password, forgejo, grafana
- jellyfin, kiwix, loki, miniflux, navidrome, postgresql
- prometheus, teslamate, transmission, zot
Infrastructure (3):
- hosts - Device inventory
- tailscale - ACLs, groups, tags
- routing - DNS domains and port mappings
Kubernetes (2):
- cluster - Minikube specs
- apps - ArgoCD application registry
Storage (2):
- sifaka - Synology NAS configuration
- backups - Backup policy
All cards use wiki-links for cross-referencing and include YAML
frontmatter with title and tags for Quartz.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 13:22:19 -08:00
## Backup
2026-02-03 14:11:47 -08:00
Backed up via [[services/borgmatic|Borgmatic]] `postgresql_databases` hook. Streams `pg_dump` directly to Borg (no intermediate files, no downtime). See [[operations/backup|Backup]] for overall backup policy.
Add Reference section with 24 technical reference cards
Phase 2 of documentation restructuring. Creates docs/reference/ with:
Services (16):
- alloy, argocd, borgmatic, 1password, forgejo, grafana
- jellyfin, kiwix, loki, miniflux, navidrome, postgresql
- prometheus, teslamate, transmission, zot
Infrastructure (3):
- hosts - Device inventory
- tailscale - ACLs, groups, tags
- routing - DNS domains and port mappings
Kubernetes (2):
- cluster - Minikube specs
- apps - ArgoCD application registry
Storage (2):
- sifaka - Synology NAS configuration
- backups - Backup policy
All cards use wiki-links for cross-referencing and include YAML
frontmatter with title and tags for Quartz.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 13:22:19 -08:00
## Credentials
**1Password items:**
- `guxu3j7ajhjyey6xxl2ovsl2ui` - eblume password
- `mw2bv5we7woicjza7hc6s44yvy` - borgmatic password
**CNPG-managed secrets:**
- `blumeops-pg-app` - miniflux user
- `blumeops-pg-eblume` - eblume superuser
- `blumeops-pg-borgmatic` - borgmatic backup user
- `blumeops-pg-teslamate` - teslamate user
## Related
2026-02-03 13:44:26 -08:00
- [[services/miniflux|Miniflux]] - Feed reader database
- [[services/teslamate|TeslaMate]] - Vehicle data database
- [[services/borgmatic|Borgmatic]] - Database backup