forked from reworkd/AgentGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
40 lines (32 loc) · 1.36 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
# Deployment Environment:
NODE_ENV=development
# NextJS
NEXT_PUBLIC_BACKEND_URL=http://localhost:3000 # In the future, this will be the python backend
NEXT_PUBLIC_FORCE_AUTH=false # Forces auth to click "Deploy"
# Websearch. Fill both of these values to enable it locally
NEXT_PUBLIC_WEB_SEARCH_ENABLED=false # Disables the ability to toggle web search
SERP_API_KEY=*** # https://serper.dev/ for an 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
REWORKD_PLATFORM_FF_MOCK_MODE_ENABLED=false # Will mock calls to the OpenAI
REWORKD_PLATFORM_OPENAI_API_KEY=changeme
REWORKD_PLATFORM_FRONTEND_URL=http://localhost:3000
# External APIs:
OPENAI_API_KEY=changeme # Used while the backend is still in TypeScript