Newer
Older
gnexus-book / 10-systems / services / gnexus-creds.md

owner: gmikcon status: active last_reviewed: 2026-10-01 review_interval: 90d confidence: high

source_of_truth: deployment-verified

gnexus-creds

Personal secret storage service with REST API, MCP HTTP/SSE adapter, and Vue UI.

Deployment

  • Host: [[gnexus-creds-host]] (192.168.1.173)
  • Method: Docker Compose
  • Port: 80 (External) $\to$ 8000 (Internal)
  • Database: PostgreSQL 17 (Containerized)
  • Repository: https://git.gnexus.space/git/root/gnexus-creds.git (branch master)
  • Current version: 4c6a4f7 (2026-10-01, updated by rei; includes PWA shell, biometric reveal gate, extension 0.1.1, ui-kit 1.0)

Configuration

  • Environment variables are managed via .env file in /home/ubuntu/gnexus-creds.
  • Production mode enabled (GNEXUS_CREDS_ENV=production).
  • Secrets (SECRET_KEY, MCP_TOKEN) are randomly generated.

Local runtime adaptation (do not overwrite)

docker-compose.yml has an uncommitted local modification that matches the live stack:

  • service renamed postgres $\to$ db (container names gnexus-creds-db-1 / app-1 depend on it);
  • port mapping 80:8000 (upstream default is 8000:8000);
  • app healthcheck uses python urllib instead of curl (curl not in image);
  • restart: unless-stopped on both services. Preserve it across updates: git stash push docker-compose.yml $\to$ pull $\to$ git stash pop.

Operations

  • Health Check: GET /health
  • Readiness Check: GET /ready
  • Migrations: docker compose run --rm app alembic upgrade head
  • Logs: docker compose logs -f app
  • Update procedure (verified 2026-10-01): backup .env + docker-compose.yml to ~/backups/ $\to$ stash compose $\to$ git pull --ff-only origin master $\to$ stash pop $\to$ sudo docker compose up -d --build $\to$ alembic upgrade head $\to$ check /health, /ready and https://creds.gnexus.space/health.
  • SSH access: ubuntu@192.168.1.173, password same as navi swarm password (see gnexus-creds secret "navi (192.168.1.168) — SSH ubuntu"); sudo same password. No dedicated secret for this host yet.