Skip to content

fix(development): local developement selection for postgres, endpoints, and documents + refactor#11

Merged
bing1100 merged 14 commits intomainfrom
fix(postgres)--select-mode-between-postgres-docker,-local,-or-azure-+-clean-up-db_con-strings
Feb 11, 2026
Merged

fix(development): local developement selection for postgres, endpoints, and documents + refactor#11
bing1100 merged 14 commits intomainfrom
fix(postgres)--select-mode-between-postgres-docker,-local,-or-azure-+-clean-up-db_con-strings

Conversation

@bing1100
Copy link
Collaborator

@bing1100 bing1100 commented Feb 10, 2026

Requires new .env addition

Azure OpenAI Dev Secrets

Options: key, entra (for Entra auth)
AZURE_OPENAI_TYPE=key # Options: key, entra (for Entra auth)

AZURE_OPENAI_ENDPOINT=https://canada-east-ai-foundry.cognitiveservices.azure.com/
ENTRA
AZURE_OPENAI_ENDPOINT=https://sdse-spib-hail32266.cognitiveservices.azure.com/

Not needed for Entra
AZURE_OPENAI_API_KEY=

Default model to use
DEFAULT_CHAT_MODEL=GPT-5-Mini

Azure Storage Dev Secrets

STORAGE_MODE=local # Options: local, azure, entra

Local storage (used when STORAGE_MODE=local)
LOCAL_STORAGE_BASE_PATH=uploads

Azure storage (used when STORAGE_MODE=azure)
AZURE_STORAGE_ACCOUNT_NAME=stream2blob1 # entra_account_name
AZURE_STORAGE_ACCOUNT_KEY=

STORAGE_CONTAINER_NAME=can-sr-storage

Azure Postgres Dev Secrets

Select primary Postgres mode
POSTGRES_MODE=docker # Options: docker, azure, local

Canonical Postgres connection settings (single set; change values per environment)
POSTGRES_HOST=pgdb-service
POSTGRES_DATABASE=postgres
POSTGRES_USER=admin
POSTGRES_PASSWORD=password

@bing1100 bing1100 requested a review from Dhanani February 10, 2026 04:19
@bing1100 bing1100 changed the title fix(postgres): select mode between docker, local, or azure + clean up db connection string deprecation fix(development): local developement selection for postgres, endpoints, and documents + refactor Feb 10, 2026
@bing1100 bing1100 merged commit ac4dc12 into main Feb 11, 2026
0 of 2 checks passed
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