-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
60 lines (55 loc) · 3.22 KB
/
.env.example
File metadata and controls
60 lines (55 loc) · 3.22 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
# This is an example .env file for the RAG Platform.
# Copy this file to a new file named '.env' and fill in your actual credentials.
# DO NOT commit your '.env' file to version control, as it contains sensitive information.
# --- Auth Setup ---
# COGNITO_DOMAIN: Your Amazon Cognito User Pool domain (e.g., https://your-domain.auth.your-region.amazoncognito.com)
COGNITO_DOMAIN="https://your-cognito-domain.auth.your-region.amazoncognito.com"
# COGNITO_CLIENT_ID: Your Amazon Cognito User Pool App Client ID
COGNITO_CLIENT_ID="your_cognito_client_id"
# COGNITO_CLIENT_SECRET: Your Amazon Cognito User Pool App Client Secret (highly sensitive!)
# For production, use AWS Secrets Manager or similar.
COGNITO_CLIENT_SECRET="your_cognito_client_secret"
# COGNITO_REGION: AWS region where your Cognito User Pool is located (e.g., ap-south-1, us-east-1)
COGNITO_REGION="your_cognito_region"
# COGNITO_USER_POOL_ID: Your Amazon Cognito User Pool ID (e.g., ap-south-1_xxxxxxxx)
COGNITO_USER_POOL_ID="your_cognito_user_pool_id"
# COGNITO_REDIRECT_URI: The URI to which users are redirected after successful authentication (e.g., http://localhost:7410/home)
COGNITO_REDIRECT_URI="http://localhost:7410/home"
# ENVIRONMENT: Set to 'development' for local setup or 'production' for deployment
ENVIRONMENT="development"
# --- Database Setup ---
# DB_HOST: Database host (e.g., localhost, your-rds-instance.rds.amazonaws.com)
DB_HOST="embedorg-pgvectorForRAG"
# DB_PORT: Database port (default for PostgreSQL is 5432)
DB_PORT="5432"
# DB_NAME: Main database name
DB_NAME="postgres"
# DB_USER: Database username
DB_USER="postgres"
# DB_PASSWORD: Database password (highly sensitive!)
# For production, use a secrets management solution.
DB_PASSWORD="your_db_password"
# PG_VECTOR_DB_NAME: Database name specifically for pgvector (can be the same as DB_NAME)
PG_VECTOR_DB_NAME="rag_platform_pgvector"
# --- S3 Setup ---
# AWS_BUCKET_NAME: Name of the AWS S3 bucket for storing data
AWS_BUCKET_NAME="your_s3_bucket_name"
# CREDENTIAL_PROFILE_NAME: AWS credential profile name from your AWS CLI config (~/.aws/credentials).
# Use 'default' if you're using your default AWS profile, or leave empty if using environment variables or IAM roles.
CREDENTIAL_PROFILE_NAME="default"
# EMBEDDING_MODEL_REGION: AWS region where your embedding model (e.g., Amazon Titan) is available (e.g., us-east-1)
EMBEDDING_MODEL_REGION="your_embedding_model_region"
# EMBEDDING_MODEL: Identifier for the embedding model to use (e.g., amazon.titan-embed-text-v2:0)
EMBEDDING_MODEL="amazon.titan-embed-text-v2:0"
# --- Auth Bypass ---
# AUTH_ENABLED: Set to 'true' to enable authentication, 'false' to bypass it during development
AUTH_ENABLED="true"
# --- CloudWatch Setup ---
# CLOUDWATCH_LOG_GROUP_NAME: Name of the CloudWatch Log Group for application logs
CLOUDWATCH_LOG_GROUP_NAME="your_cloudwatch_log_group_name"
# CLOUDWATCH_LOG_BACKEND_STREAM_NAME: Name of the CloudWatch Log Stream for backend application logs
CLOUDWATCH_LOG_BACKEND_STREAM_NAME="backend"
# CLOUDWATCH_LOG_FRONTEND_STREAM_NAME: Name of the CloudWatch Log Stream for frontend application logs
CLOUDWATCH_LOG_FRONTEND_STREAM_NAME="frontend"
# CLOUDWATCH_REGION: AWS region for CloudWatch (e.g., ap-south-1, us-east-1)
CLOUDWATCH_REGION="your_cloudwatch_region"