2023-12-02 02:26:06 +03:00
|
|
|
#### QUIVR Configuration
|
2024-03-30 04:55:42 +03:00
|
|
|
# This file is used to configure the Quivr stack. It is used by the `docker-compose.yml` file to configure the stack.
|
2023-12-02 02:26:06 +03:00
|
|
|
|
2024-03-30 04:55:42 +03:00
|
|
|
# OPENAI. Update this to use your API key. To skip OpenAI integration use a fake key, for example: tk-aabbccddAABBCCDDEeFfGgHhIiJKLmnopjklMNOPqQqQqQqQ
|
2024-06-26 10:58:55 +03:00
|
|
|
OPENAI_API_KEY=CHANGE_ME
|
2023-12-02 02:26:06 +03:00
|
|
|
|
2024-03-30 04:55:42 +03:00
|
|
|
# LOCAL
|
2024-01-07 18:50:38 +03:00
|
|
|
# OLLAMA_API_BASE_URL=http://host.docker.internal:11434 # Uncomment to activate ollama. This is the local url for the ollama api
|
2023-12-02 17:43:05 +03:00
|
|
|
|
2023-12-02 02:26:06 +03:00
|
|
|
########
|
|
|
|
# FRONTEND
|
|
|
|
########
|
|
|
|
|
|
|
|
NEXT_PUBLIC_ENV=local
|
|
|
|
NEXT_PUBLIC_BACKEND_URL=http://localhost:5050
|
2024-01-07 18:50:38 +03:00
|
|
|
NEXT_PUBLIC_SUPABASE_URL=http://localhost:54321
|
|
|
|
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
|
2023-12-02 02:26:06 +03:00
|
|
|
NEXT_PUBLIC_CMS_URL=https://cms.quivr.app
|
|
|
|
NEXT_PUBLIC_FRONTEND_URL=http://localhost:*
|
2024-05-10 10:17:19 +03:00
|
|
|
NEXT_PUBLIC_AUTH_MODES=password
|
2024-09-02 11:20:53 +03:00
|
|
|
NEXT_PUBLIC_SHOW_TOKENS=false
|
2024-08-22 22:50:10 +03:00
|
|
|
#NEXT_PUBLIC_PROJECT_NAME=<project-name>
|
2023-12-02 02:26:06 +03:00
|
|
|
|
|
|
|
|
|
|
|
########
|
|
|
|
# BACKEND
|
|
|
|
########
|
|
|
|
|
2024-07-15 16:37:42 +03:00
|
|
|
LOG_LEVEL=INFO
|
2024-01-07 18:50:38 +03:00
|
|
|
SUPABASE_URL=http://host.docker.internal:54321
|
|
|
|
SUPABASE_SERVICE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU
|
2024-04-29 11:36:10 +03:00
|
|
|
PG_DATABASE_URL=postgresql://postgres:postgres@host.docker.internal:54322/postgres
|
2024-06-26 10:58:55 +03:00
|
|
|
PG_DATABASE_ASYNC_URL=postgresql+asyncpg://postgres:postgres@host.docker.internal:54322/postgres
|
2023-12-02 02:26:06 +03:00
|
|
|
ANTHROPIC_API_KEY=null
|
2024-01-07 18:50:38 +03:00
|
|
|
JWT_SECRET_KEY=super-secret-jwt-token-with-at-least-32-characters-long
|
2023-12-02 02:26:06 +03:00
|
|
|
AUTHENTICATE=true
|
2024-02-08 07:44:37 +03:00
|
|
|
TELEMETRY_ENABLED=true
|
2023-12-02 02:26:06 +03:00
|
|
|
CELERY_BROKER_URL=redis://redis:6379/0
|
2024-01-07 18:50:38 +03:00
|
|
|
CELEBRY_BROKER_QUEUE_NAME=quivr-preview.fifo
|
2024-04-17 16:00:31 +03:00
|
|
|
QUIVR_DOMAIN=http://localhost:3000/
|
2024-05-21 23:20:35 +03:00
|
|
|
BACKEND_URL=http://localhost:5050
|
2024-09-02 11:20:53 +03:00
|
|
|
EMBEDDING_DIM=1536
|
2024-04-24 20:44:31 +03:00
|
|
|
#COHERE_API_KEY=CHANGE_ME
|
2024-08-09 01:40:44 +03:00
|
|
|
DEACTIVATE_STRIPE=true
|
2024-04-24 20:44:31 +03:00
|
|
|
|
2023-12-02 02:26:06 +03:00
|
|
|
#RESEND
|
|
|
|
RESEND_API_KEY=<change-me>
|
|
|
|
RESEND_EMAIL_ADDRESS=onboarding@resend.dev
|
|
|
|
RESEND_CONTACT_SALES_FROM=contact_sales@resend.dev
|
|
|
|
RESEND_CONTACT_SALES_TO=<change-me>
|
|
|
|
|
2024-08-22 12:20:21 +03:00
|
|
|
# SMTP
|
|
|
|
QUIVR_SMTP_SERVER=smtp.example.com
|
|
|
|
QUIVR_SMTP_PORT=587
|
|
|
|
QUIVR_SMTP_USERNAME=username
|
|
|
|
QUIVR_SMTP_PASSWORD=password
|
|
|
|
|
2023-12-02 02:26:06 +03:00
|
|
|
CRAWL_DEPTH=1
|
|
|
|
|
|
|
|
PREMIUM_MAX_BRAIN_NUMBER=30
|
|
|
|
PREMIUM_MAX_BRAIN_SIZE=10000000
|
|
|
|
PREMIUM_DAILY_CHAT_CREDIT=100
|
|
|
|
|
2024-05-10 13:22:15 +03:00
|
|
|
# BRAVE SEARCH API KEY
|
2024-05-11 17:56:54 +03:00
|
|
|
BRAVE_SEARCH_API_KEY=CHANGE_ME
|
2024-05-21 23:20:35 +03:00
|
|
|
|
|
|
|
|
|
|
|
# GOOGLE DRIVE
|
|
|
|
GOOGLE_CLIENT_ID=your-client-id
|
|
|
|
GOOGLE_CLIENT_SECRET=your-client-secret
|
|
|
|
GOOGLE_PROJECT_ID=your-project-id
|
|
|
|
GOOGLE_AUTH_URI=https://accounts.google.com/o/oauth2/auth
|
|
|
|
GOOGLE_TOKEN_URI=https://oauth2.googleapis.com/token
|
|
|
|
GOOGLE_AUTH_PROVIDER_CERT_URL=https://www.googleapis.com/oauth2/v1/certs
|
|
|
|
GOOGLE_REDIRECT_URI=http://localhost
|
|
|
|
|
|
|
|
# SHAREPOINT
|
|
|
|
SHAREPOINT_CLIENT_ID=your-client-id
|