-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate_dot_env
More file actions
executable file
·119 lines (94 loc) · 4.92 KB
/
template_dot_env
File metadata and controls
executable file
·119 lines (94 loc) · 4.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# ------------------------------------------------------------------------------
# LibreChat Environment Configuration
#
# Copy this file to .env and fill in the values.
# For more details on configuration, see the official documentation:
# https://www.librechat.ai/docs/configuration/dotenv
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# General Application Settings
# ------------------------------------------------------------------------------
# The title displayed in the web interface.
APP_TITLE=LibreChatViaGoogle
# ------------------------------------------------------------------------------
# Networking
# ------------------------------------------------------------------------------
# The port on which the RAG (Retrieval-Augmented Generation) API service will listen.
# This should match the value in the docker-compose.yml file.
RAG_PORT=8000
BUNDLER_PORT=31234
# ------------------------------------------------------------------------------
# Security & Secrets
#
# IMPORTANT: Change all default "24389_CHANGE_ME" values to strong, unique secrets.
# You can generate a secure random key with:
# openssl rand -hex 32
# ------------------------------------------------------------------------------
# Master key for Meilisearch, the search engine used by LibreChat.
MEILI_MASTER_KEY=24389_CHANGE_ME
# JSON Web Token secrets for user authentication.
# These must be kept private. Generate two different, strong keys.
JWT_SECRET=24389_CHANGE_ME
JWT_REFRESH_SECRET=24389_CHANGE_ME
# ------------------------------------------------------------------------------
# MongoDB Database Credentials
# ------------------------------------------------------------------------------
# Credentials for the MongoDB root user. This user is only used once for
# the initial setup to create the application database and user.
MONGO_ROOT_USER=24389_CHANGE_ME
MONGO_ROOT_PASSWORD=24389_CHANGE_ME
# Credentials for the application user. LibreChat uses this user to
# connect to and interact with the database.
MONGO_APP_USER=24389_CHANGE_ME
MONGO_APP_PASSWORD=24389_CHANGE_ME
# ------------------------------------------------------------------------------
# PostgreSQL (Vector Database) Credentials
# ------------------------------------------------------------------------------
# Credentials for the PostgreSQL database, which is used as a vector store
# for the RAG API.
POSTGRES_DB=24389_CHANGE_ME
POSTGRES_USER=24389_CHANGE_ME
POSTGRES_PASSWORD=24389_CHANGE_ME
# ------------------------------------------------------------------------------
# AI Provider Configuration (Google Vertex AI)
# ------------------------------------------------------------------------------
# Path to the Google Cloud service account key file within the container.
# This is mounted as a Docker secret.
GOOGLE_APPLICATION_CREDENTIALS=/run/secrets/gcp_sa
GOOGLE_SERVICE_KEY_FILE=/run/secrets/gcp_sa
# Comma-separated list of available Google AI models to use in LibreChat.
GOOGLE_MODELS=gemini-1.5-pro,gemini-1.5-flash,gemini-1.5-flash-tool-use
# The Google Cloud region where the AI models will be accessed.
GOOGLE_LOC=europe-north1
# ------------------------------------------------------------------------------
# RAG API Configuration
# ------------------------------------------------------------------------------
# The provider for generating text embeddings. Default is Google Vertex AI.
EMBEDDINGS_PROVIDER=vertexai
# The specific model to use for embeddings.
EMBEDDINGS_MODEL=text-embedding-004 # default for google
# Whether to extract images from PDF files during processing.
PDF_EXTRACT_IMAGES=True
# ------------------------------------------------------------------------------
# Optional: Firecrawl Scraper
# This service is not enabled by default, as Google's API can handle an equivalent
# to web scraping via its search API.
# ------------------------------------------------------------------------------
# # Your API key for the Firecrawl service.
# FIRECRAWL_API_KEY=your_firecrawl_api_key
# # Optional: Custom Firecrawl API URL if you are self-hosting it.
# FIRECRAWL_API_URL=your_firecrawl_api_url
# ------------------------------------------------------------------------------
# Advanced/Internal Settings
# These are default values that should work for most local setups.
# ------------------------------------------------------------------------------
# The domain for the client and server. These are used for CORS and other
# internal settings. For a local setup, the default is usually correct.
DOMAIN_CLIENT=http://localhost:3080
DOMAIN_SERVER=http://localhost:3080
# Prevents search engines from indexing the site.
NO_INDEX=true
# Specifies the number of trusted reverse proxies in front of the application.
# A value of 1 is the default and correct when running behind a single proxy like Caddy.
# A value of 0 means the application is directly exposed to the internet.
TRUST_PROXY=1