mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
* feat(scripts): generate REDIS_PASSWORD on setup, plumb through compose Per the discussion on #453, this takes the recommended path of extending the setup scripts rather than introducing a parallel compose file. - scripts/setup_remote.sh now generates REDIS_PASSWORD alongside OSS_JWT_SECRET and POSTGRES_PASSWORD and writes it to the rendered .env (with a short comment noting it can be rotated, unlike the postgres password which is baked into the volume on first init). - scripts/start_docker.sh now generates REDIS_PASSWORD on first run if missing, mirroring the existing OSS_JWT_SECRET pattern (reuses generate_secret, which falls back through python3 → openssl → /dev/urandom). - docker-compose.yaml and docker-compose-local.yaml now interpolate ${REDIS_PASSWORD:-redissecret} in the redis --requirepass, the redis healthcheck, and the api REDIS_URL. The :-redissecret fallback preserves backwards compatibility for users with an existing .env that predates this change — they keep the old value until they regenerate. New installs (via either script) get a secure random hex. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * Harden local Docker secret setup --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> Co-authored-by: Abhishek Kumar <abhishek@a6k.me> |
||
|---|---|---|
| .. | ||
| lib | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| dump_docs_openapi.py | ||
| format.sh | ||
| generate_sdk.sh | ||
| lint.sh | ||
| makemigrate.ps1 | ||
| makemigrate.sh | ||
| migrate.ps1 | ||
| migrate.sh | ||
| pre_commit.sh | ||
| prepare-slack-message.sh | ||
| release_sdks.sh | ||
| rolling_update.sh | ||
| run_dograh_init.sh | ||
| setup_custom_domain.sh | ||
| setup_fork.ps1 | ||
| setup_fork.sh | ||
| setup_local.devcontainer.md | ||
| setup_local.ps1 | ||
| setup_local.sh | ||
| setup_pipecat.sh | ||
| setup_remote.sh | ||
| setup_requirements.ps1 | ||
| setup_requirements.sh | ||
| start_docker.ps1 | ||
| start_docker.sh | ||
| start_services.sh | ||
| start_services_dev.ps1 | ||
| start_services_dev.sh | ||
| start_services_docker.sh | ||
| stop_services.ps1 | ||
| stop_services.sh | ||
| update_remote.sh | ||