Add backend invitation-link env configuration (FRONTEND_BASE_URL, INVITATION_TOKEN_SECRET)#47
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/mukund58/taskflow-dotnet/sessions/01c5657d-32d0-417f-87c9-dc83111240a6 Co-authored-by: mukund58 <162794838+mukund58@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
mukund58
April 26, 2026 08:53
View session
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds explicit runtime configuration surfaces for backend invitation-link generation by wiring frontend base URL and invitation token signing secret through Docker Compose, and documenting them for local and Azure deployments.
Changes:
- Documented
FRONTEND_BASE_URLandINVITATION_TOKEN_SECRETin backend environment setup sections ofREADME.md. - Wired
FRONTEND_BASE_URLandINVITATION_TOKEN_SECRETintoBackend/docker-compose.yml(with a local default for the frontend URL). - Wired the same environment variables into
Backend/docker-compose.azure.ymlfor Azure App Service deployments.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| README.md | Documents the new env vars and production guidance for the frontend base URL. |
| Backend/docker-compose.yml | Adds the env vars to the API service (local default for FRONTEND_BASE_URL). |
| Backend/docker-compose.azure.yml | Adds the env vars to the API service for Azure deployments. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+213
to
+216
| - REDIS_CONNECTION_STRING | ||
| - FRONTEND_BASE_URL (local default: `http://localhost:3000`; set explicitly per environment—this deployment uses `https://taskflow.mukund.xyz` in production) | ||
| - INVITATION_TOKEN_SECRET | ||
| - SMTP_HOST |
| CONNECTION_STRING: Host=db;Port=5432;Database=${POSTGRES_DB};Username=${POSTGRES_USER};Password=${POSTGRES_PASSWORD} | ||
| REDIS_CONNECTION_STRING: cache:6379 | ||
| FRONTEND_BASE_URL: ${FRONTEND_BASE_URL:-http://localhost:3000} | ||
| INVITATION_TOKEN_SECRET: ${INVITATION_TOKEN_SECRET} |
| CONNECTION_STRING: Host=db;Port=5432;Database=${POSTGRES_DB};Username=${POSTGRES_USER};Password=${POSTGRES_PASSWORD} | ||
| REDIS_CONNECTION_STRING: ${REDIS_CONNECTION_STRING} | ||
| FRONTEND_BASE_URL: ${FRONTEND_BASE_URL} | ||
| INVITATION_TOKEN_SECRET: ${INVITATION_TOKEN_SECRET} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backend invitation-link configuration was incomplete: the service did not declare dedicated runtime settings for frontend link base URL and invitation token signing secret. This PR adds those config surfaces and documents expected production values (including
https://taskflow.mukund.xyzfor this deployment).Runtime env wiring (backend compose)
FRONTEND_BASE_URLandINVITATION_TOKEN_SECRETto backend API service env in:Backend/docker-compose.ymlBackend/docker-compose.azure.ymlhttp://localhost:3000; Azure compose requires explicit values.Environment documentation
README.mdbackend env sections to include:FRONTEND_BASE_URLINVITATION_TOKEN_SECREThttps://taskflow.mukund.xyz).Example config shape introduced: