-
Notifications
You must be signed in to change notification settings - Fork 14
/
.env.example
47 lines (34 loc) · 1.46 KB
/
.env.example
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
# When adding additional environment variables, the schema in "/src/env.mjs"
# should be updated accordingly.
NODE_ENV=development
# Postgres Database url
DATABASE_URL="postgresql://postgres:password@localhost:5439/joia"
# A unique secret key used for DB encryption and for session management
# Must be generated with one of the following commands:
# - npm run cloak:generate
# - npx cloak generate
ENCRYPTION_KEY="SECRET_MASTER_KEY"
# Google OAuth keys, to enable login
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# SMTP email provider
SMTP_EMAIL_SERVER=smtp://username:[email protected]:port
# Currently it is required to provide OpenAI for some operations like
# generating titles. Expect this env variable to be removed in the future.
INTERNAL_OPENAI_API_KEY=sk-mysecret_openai_key
# Optional OpenAI base url, in case you want to proxy calls through
# another provider like Cloudflare, Azure or Openrouter
OPTIONAL_OPENAI_BASE_URL=
NEXT_PUBLIC_ENV=development
NEXT_PUBLIC_FRONTEND_URL=http://localhost:3000
NEXT_PUBLIC_TRPC_DEBUG=false
# S3 bucket for storing files (any S3-compatible storage works. Region is optional.)
S3_BUCKET_NAME=my-bucket
S3_REGION=us-east-1
S3_ACCESS_KEY_ID=mykey
S3_SECRET_ACCESS_KEY=mypassword
# LlamaQ is a service that queues up tasks to be processed by the backend.
LLAMAQ_ENQUEUE_URL=http://localhost:4000/llamaq/enqueue
LLAMAQ_ACCESS_KEY=ABC1234
LLAMAQ_INCOMING_API_ROUTE_ACCESS_KEY=ABC123