config changes

This commit is contained in:
debu-2 2026-10-02 11:58:57 +05:30
parent 38eb2a11d5
commit 9000110d25
5 changed files with 28 additions and 12 deletions

View file

@ -10,8 +10,9 @@ ENVIRONMENT=development
# Local Postgres (host port 5433 when using docker compose postgres)
DATABASE_URL=postgresql+psycopg://urmi:urmi@localhost:5433/urmi
# Must match the browser origin serving the frontend
# Must match the browser origin serving the frontend (CORS + OAuth redirect target)
FRONTEND_ORIGIN=http://localhost:5173
# Production: FRONTEND_ORIGIN=https://urmiai.com
# --- Auth / sessions ---
# Required in production. Use at least 32 random characters.
@ -27,6 +28,7 @@ ACCESS_TOKEN_MINUTES=10080
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URI=http://localhost:8000/api/v1/auth/google/callback
# Production: GOOGLE_REDIRECT_URI=https://api.urmiai.com/api/v1/auth/google/callback
# Admin portal (/admin)
ADMIN_USERNAME=root
@ -43,3 +45,5 @@ BONVOICE_TOKEN=replace-with-bonvoice-token
BONVOICE_API_URL=https://backend.pbx.bonvoice.com/autoDialManagement/autoCallBridging/
BONVOICE_MEDIA_ALLOWLIST=103.131.25.5
VOICE_RELAY_PUBLIC_URL=ws://localhost:8000/api/v1/voice
# Production: VOICE_RELAY_PUBLIC_URL=wss://api.urmiai.com/api/v1/voice
# Bonvoice portal voicebot endpoint: wss://api.urmiai.com/api/v1/voice/ws/media