Update environment configuration files

- Expanded `.env.example` with additional environment variables for local development, including AWS credentials, database connection strings, and API keys.
- Removed the `api/.env.example` file as its contents have been consolidated into the main `.env.example`.

These changes enhance the local development setup by providing a comprehensive example of required environment variables.
This commit is contained in:
dal 2025-01-07 15:11:53 -07:00
parent fb77e66fe6
commit 6b69339c79
2 changed files with 24 additions and 13 deletions

View File

@ -1,5 +1,25 @@
AWS_ACCESS_KEY_ID= AWS_ACCESS_KEY_ID=AKIA....
AWS_SECRET_ACCESS_KEY= AWS_SECRET_ACCESS_KEY=...
AWS_REGION= AWS_REGION=us-east-1
CATALOG_WAREHOUSE=s3://your-warehouse-bucket/ CATALOG_WAREHOUSE=s3://your-warehouse-bucket/
d ENVIRONMENT="development"
DATABASE_URL="postgresql://postgres:postgres@127.0.0.1:54322/postgres"
POOLER_URL="postgresql://postgres:postgres@127.0.0.1:54322/postgres"
JWT_SECRET="super-secret-jwt-token-with-at-least-32-characters-long"
REDIS_URL="redis://localhost:6379"
LANGFUSE_API_URL="https://us.cloud.langfuse.com"
LANGFUSE_PUBLIC_API_KEY="pk..."
LANGFUSE_PRIVATE_API_KEY="sk..."
POSTHOG_API_KEY="phc_..."
OPENAI_API_KEY="sk-..."
ANTHROPIC_API_KEY="sk-..."
RESEND_API_KEY="re_..."
BUSTER_URL="http://localhost:3000"
BUSTER_WH_TOKEN="buster-wh-token"
EMBEDDING_PROVIDER="ollama"
EMBEDDING_MODEL="mxbai-embed-large"
COHERE_API_KEY="..."
NEXT_PUBLIC_API_URL="http://127.0.0.1:3001"
NEXT_PUBLIC_URL="http://localhost:3000"
NEXT_PUBLIC_SUPABASE_URL="http://127.0.0.1:54321"
NEXT_PUBLIC_SUPABASE_ANON_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0"

View File

@ -1,9 +0,0 @@
ENVIRONMENT="development"
DATABASE_URL="postgresql://postgres:postgres@127.0.0.1:54322/postgres"
JWT_SECRET="super-secret-jwt-token-with-at-least-32-characters-long"
REDIS_URL="redis://127.0.0.1:6379"
LANGFUSE_API_URL="https://us.cloud.langfuse.com"
LANGFUSE_PUBLIC_API_KEY="pk-lf-xxxxxx"
LANGFUSE_PRIVATE_API_KEY="sk-lf-xxxxxx"
OPENAI_API_KEY="sk-xxxxxx"
EMBED_VEC_LENGTH="1536"