Skip to content

Comments

feat: add setup script and Nango secret key env override#8

Merged
nick-inkeep merged 3 commits intomainfrom
feat/nango-secret-key-env-override
Feb 17, 2026
Merged

feat: add setup script and Nango secret key env override#8
nick-inkeep merged 3 commits intomainfrom
feat/nango-secret-key-env-override

Conversation

@nick-inkeep
Copy link
Contributor

@nick-inkeep nick-inkeep commented Feb 17, 2026

Summary

  • Add scripts/setup.sh — automated setup script that starts all services, generates credentials (Nango secret key, SigNoz PAT), and writes 9 env vars to the caller's .env
  • Add NANGO_SECRET_KEY_DEV env var override so the monorepo shim can pre-generate a Nango key instead of scraping the dashboard
  • Add Apache 2.0 license
  • Update README with automated setup docs, lifecycle commands, and .optional-services/ default placement
  • Rewrite nango-instructions.md with portable docker compose down -v (replaces hardcoded volume name)

Test plan

  • CALLER_ENV_FILE=/tmp/test.env ./scripts/setup.sh completes, writes all 9 env vars, all containers healthy
  • ./scripts/setup.sh --status shows running services
  • ./scripts/setup.sh --stop stops all services
  • ./scripts/setup.sh --reset removes data and re-runs setup
  • Re-run is idempotent (existing keys reused, no duplicate env entries)
  • NANGO_SECRET_KEY_DEV in .env is picked up by nango-server container

🤖 Generated with Claude Code

nick-inkeep and others added 3 commits February 16, 2026 19:55
- README.md: add automated setup section, fix .env filename,
  fix sed placeholder, fix docker compose v2 syntax, document
  NANGO_SECRET_KEY_DEV generation step
- .env.docker.example: add NANGO_SECRET_KEY_DEV with usage
  comment, clarify dashboard creds are only used when auth enabled
- nango-instructions.md: fix .env filename, fix sed syntax for
  macOS, fix volume name, remove legacy app paths, add env var
  override as recommended key retrieval method, add automated
  setup note

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ent refs

Nango validates secret keys as UUID v4. Updated key generation in setup.sh,
README, and nango-instructions to use openssl+sed formatting instead of raw hex.
Updated README to reference .optional-services/ as the default clone target.
Replaced hardcoded docker volume rm with portable docker compose down -v.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nick-inkeep nick-inkeep force-pushed the feat/nango-secret-key-env-override branch from 12fad22 to aa93e21 Compare February 17, 2026 03:59
@nick-inkeep nick-inkeep merged commit df5f8d0 into main Feb 17, 2026
@nick-inkeep nick-inkeep deleted the feat/nango-secret-key-env-override branch February 17, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant