Skip to content

Fix docker compose#1044

Merged
elie222 merged 3 commits intomainfrom
fix/docker-compose
Dec 2, 2025
Merged

Fix docker compose#1044
elie222 merged 3 commits intomainfrom
fix/docker-compose

Conversation

@elie222
Copy link
Owner

@elie222 elie222 commented Dec 2, 2025

Bind SRH_TOKEN to ${UPSTASH_REDIS_TOKEN} in docker-compose.yml to fix docker compose and stop writing SRH_TOKEN in packages/cli/src/main.ts setup

Adds SRH_TOKEN=${UPSTASH_REDIS_TOKEN} to a service in docker-compose.yml and removes env.SRH_TOKEN assignment from the setup routine in packages/cli/src/main.ts. Updates the marketing subproject pointer and bumps version to v2.21.20.

📍Where to Start

Start with the setup command handler in packages/cli/src/main.ts, then verify environment variables in docker-compose.yml.


Macroscope summarized 54597e7.

Summary by CodeRabbit

  • Chores
    • Version updated to v2.21.20
    • Infrastructure and configuration adjustments

✏️ Tip: You can customize this high-level summary in your review settings.

@vercel
Copy link

vercel bot commented Dec 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
inbox-zero Ready Ready Preview Dec 2, 2025 4:03am

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 2, 2025

Walkthrough

Version bumped to v2.21.20. Marketing app submodule commit updated. SRH_TOKEN environment variable handling refactored: moved from CLI setup in packages/cli/src/main.ts to docker-compose configuration, sourcing from UPSTASH_REDIS_TOKEN.

Changes

Cohort / File(s) Summary
Environment Variable Configuration
docker-compose.yml, packages/cli/src/main.ts
Added SRH_TOKEN to docker-compose serverless-redis-http service sourced from UPSTASH_REDIS_TOKEN; removed SRH_TOKEN environment variable setting from CLI in both repository and standalone mode paths
Submodule Update
apps/web/app/(marketing)
Updated submodule commit pointer to 5adac62e127fcd3e0c79bf63bf0cd3931441338a
Version Bump
version.txt
Updated version from v2.21.19 to v2.21.20

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Verify docker-compose.yml syntax and environment variable sourcing is correct
  • Confirm CLI removal of SRH_TOKEN setting doesn't break existing startup paths
  • Validate submodule commit pointer exists and is reachable
  • Ensure version bump aligns with project conventions

Possibly related PRs

Poem

🐰 Hops through the config with glee,
SRH_TOKEN moved to compose, you see!
From CLI to Docker it flies,
Version bumped under the skies,
Infrastructure cleaner and spry!

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Fix docker compose' is partially related to the changeset. While a docker-compose.yml change exists (adding SRH_TOKEN), the PR includes substantial changes across multiple files including environment variable removal, version bumps, and submodule updates that are not reflected in the title.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/docker-compose

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 8 files

@elie222 elie222 merged commit 4cb4f77 into main Dec 2, 2025
17 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Dec 9, 2025
@elie222 elie222 deleted the fix/docker-compose branch December 18, 2025 23:05
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