forked from analytiq-hub/doc-router
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example.mongodb
More file actions
51 lines (44 loc) · 1.32 KB
/
.env.example.mongodb
File metadata and controls
51 lines (44 loc) · 1.32 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
# This example is similar to aws_lightsail, but enables mongodb
# - To bring up the stack, run:
# docker compose up --profile with-mongodb
# - To bring down the stack, run:
# docker compose --profile with-mongodb down
# - If changing the mongodb user/pw, remove the mongodb volume
ENV="dev"
MONGO_INITDB_ROOT_USERNAME=admin
MONGO_INITDB_ROOT_PASSWORD=password
MONGODB_URI=mongodb://admin:password@mongodb:27017
# FastAPI backend reachable from the nextjs frontend
NEXT_PUBLIC_FASTAPI_FRONTEND_URL="https://<mydomain>/fastapi"
# FastAPI backend reachable from the nextjs backend
FASTAPI_BACKEND_URL="http://backend:8000"
# FastAPI backend root path
FASTAPI_ROOT_PATH="/fastapi"
# FastAPI backend secret key
FASTAPI_SECRET="default_fastapi_secret_for_development"
# Worker settings
N_WORKERS=25
# Create an admin user
ADMIN_EMAIL="admin@yourcompany.com"
ADMIN_PASSWORD="admin"
# Set up API credentials for various services.
# These can also be set up later in the GUI.
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_S3_BUCKET_NAME=
OPENAI_API_KEY=
GEMINI_API_KEY=
ANTHROPIC_API_KEY=
GROQ_API_KEY=
MISTRAL_API_KEY=
# NextJS frontend
NEXTAUTH_URL="https://<mydomain>"
NEXTAUTH_SECRET=your-nextauth-secret
# Github OAuth
AUTH_GITHUB_ID=
AUTH_GITHUB_SECRET=
# Google OAuth
AUTH_GOOGLE_ID=
AUTH_GOOGLE_SECRET=
# Email verification
SES_FROM_EMAIL=