forked from reworkd/AgentGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
47 lines (40 loc) · 1.48 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
# Deployment Environment:
NODE_ENV=development
# NextJS
NEXT_PUBLIC_BACKEND_URL=http://localhost:8000
PLATFORM_URL=http://host.docker.internal:8000
NEXT_PUBLIC_FORCE_AUTH=false
# Websearch. Fill both of these values to enable it locally. https://serper.dev/ for an API key
NEXT_PUBLIC_WEB_SEARCH_ENABLED=false
SERP_API_KEY=***
# Next Auth config:
# Generate a secret with `openssl rand -base64 32`, or visit https://generate-secret.vercel.app/
NEXTAUTH_SECRET=changeme
NEXTAUTH_URL=http://localhost:3000
# Auth providers. Required to enable sign in, in production. Development mode uses local auth.
GOOGLE_CLIENT_ID=***
GOOGLE_CLIENT_SECRET=***
GITHUB_CLIENT_ID=***
GITHUB_CLIENT_SECRET=***
DISCORD_CLIENT_SECRET=***
DISCORD_CLIENT_ID=***
# Database (Configured through docker-compose)
DATABASE_USER=reworkd_platform
DATABASE_PASSWORD=reworkd_platform
DATABASE_HOST=db
DATABASE_PORT=3306
DATABASE_NAME=reworkd_platform
DATABASE_URL="mysql://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}"
# Backend
# Will mock calls to the OpenAI
REWORKD_PLATFORM_FF_MOCK_MODE_ENABLED=false
REWORKD_PLATFORM_OPENAI_API_KEY=changeme
REWORKD_PLATFORM_FRONTEND_URL=http://localhost:3000
REWORKD_PLATFORM_RELOAD=true
REWORKD_PLATFORM_OPENAI_API_BASE="https://api.openai.com/v1"
REWORKD_PLATFORM_SERP_API_KEY=***
REWORKD_PLATFORM_REPLICATE_API_KEY="***"
# External APIs:
# Used while the backend is still in TypeScript
OPENAI_API_KEY=changeme
OPENAI_API_BASE="https://api.openai.com/v1"