Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/api/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ===========================================
# WhatsSummarize API Server - Environment Variables
# ConvoLens API Server - Environment Variables
# ===========================================
# Copy this file to .env and fill in your values
# NEVER commit .env to version control
Expand All @@ -21,7 +21,7 @@ DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_NAME=whatssummarize
DB_NAME=convolens
DB_SYNCHRONIZE=false
DB_LOGGING=false
DB_MIGRATIONS_RUN=true
Expand Down Expand Up @@ -106,12 +106,12 @@ FRONTEND_URL=http://localhost:3000
# Azure Cosmos DB (NoSQL database alternative)
# AZURE_COSMOS_ENDPOINT=https://your-account.documents.azure.com
# AZURE_COSMOS_KEY=your-cosmos-key
# AZURE_COSMOS_DATABASE=whatssummarize
# AZURE_COSMOS_DATABASE=convolens
# AZURE_COSMOS_CONTAINER=chats

# Azure SQL Database (relational database alternative)
# AZURE_SQL_SERVER=your-server.database.windows.net
# AZURE_SQL_DATABASE=whatssummarize
# AZURE_SQL_DATABASE=convolens
# AZURE_SQL_USERNAME=your-username
# AZURE_SQL_PASSWORD=your-password
# AZURE_SQL_ENCRYPT=true
Expand Down
2 changes: 1 addition & 1 deletion apps/api/src/config/azure/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export function getAzureCosmosDBConfig(): AzureCosmosDBConfig | null {
return {
endpoint,
key,
databaseName: process.env.AZURE_COSMOS_DATABASE || 'whatssummarize',
databaseName: process.env.AZURE_COSMOS_DATABASE || 'convolens',
containerName: process.env.AZURE_COSMOS_CONTAINER || 'chats',
};
}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ===========================================
# WhatsSummarize Web App - Environment Variables
# ConvoLens Web App - Environment Variables
# ===========================================
# Copy this file to .env.local and fill in your values
# NEVER commit .env.local to version control
Expand Down
13 changes: 9 additions & 4 deletions infra/bicep/main.bicep
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// =============================================================================
// WhatsSummarize - Azure Infrastructure (Main Template)
// ConvoLens - Azure Infrastructure (Main Template)
// =============================================================================
// This template deploys all Azure resources required for WhatsSummarize.
// This template deploys all Azure resources required for ConvoLens.
// Use with appropriate parameter files for each environment.
//
// Resources deployed:
Expand Down Expand Up @@ -30,11 +30,16 @@ param environment string = 'dev'
@description('Azure region for resources')
param location string = resourceGroup().location

@description('Project name used for resource naming')
@description('Project name used for resource naming. Resource names retain the legacy "whatssummarize" prefix until a separate user-driven Azure rename decision lands.')
@minLength(3)
@maxLength(15)
param projectName string = 'whatssummarize'

@description('Logical database name used for Cosmos DB (and future Azure SQL). Decoupled from projectName so the brand rename can land without renaming Azure resources. Override at deploy time only when migrating data.')
@minLength(3)
@maxLength(40)
param databaseName string = 'convolens'

@description('Enable Azure OpenAI deployment')
param enableOpenAI bool = true

Expand Down Expand Up @@ -152,7 +157,7 @@ module cosmosDB 'modules/cosmos-db.bicep' = if (enableCosmosDB) {
name: 'cosmos-${resourcePrefix}'
location: location
tags: tags
databaseName: projectName
databaseName: databaseName
containers: [
{
name: 'users'
Expand Down
Loading