-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
37 lines (31 loc) · 1.31 KB
/
example.env
File metadata and controls
37 lines (31 loc) · 1.31 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
# STORAGE (Postgres)
# Example: postgresql://USER:PASSWORD@HOST:PORT/DATABASE
DATABASE_URL=postgresql://db_user:db_pass@db-host.example.com:5432/lexicon
# AUTHENTICATION / NEXTAUTH
NEXTAUTH_URL=http://localhost:3000
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Long random secret for JWT signing (keep private)
NEXTAUTH_JWT_SECRET=your_jwt_secret_here
NEXTAUTH_SECRET=your_nextauth_secret_here
# AI / OpenAI
# OpenAI API key (or provider key), keep private
OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Optional finetune or alternate AI key
FINETUNE_API_KEY=ft-xxxxxxxxxxxxxxxxxxxxxxxxxxxx
# EMAIL (sending)
DEFAULT_FROM_NAME=Lexicon
DEFAULT_FROM_EMAIL=accounts@your-domain.com
# Optional: Microsoft/Azure (for Graph / email)
AZURE_APP_CLIENT_ID=00000000-0000-0000-0000-000000000000
AZURE_APP_CLIENT_SECRET=azure-client-secret-here
AZURE_APP_TENANT_ID=00000000-0000-0000-0000-000000000000
# S3 / object storage (optional - used for avatar uploads etc.)
S3_REGION=us-east-1
S3_ENDPOINT=https://s3.example.com # optional custom endpoint
S3_ACCESS_KEY=AKIAEXAMPLEKEY
S3_SECRET_KEY=your_s3_secret_key_here
S3_BUCKET_NAME=your-bucket-name
S3_FORCE_PATH_STYLE=false # true for some S3-compatible endpoints
# Optional extras (example placeholders)
# LOG_LEVEL=info
# NEXT_PUBLIC_SOME_FRONTEND_FLAG=true