-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
63 lines (50 loc) · 1.77 KB
/
Copy path.env.example
File metadata and controls
63 lines (50 loc) · 1.77 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
52
53
54
55
56
57
58
59
60
61
62
63
PROJECT_NAME="Essay Feedback Writer"
STACK_NAME="Essay-Feedback-Writer"
DOMAIN=localhost
ENVIRONMENT=local
# backend url
VITE_SERVER_URL=http://127.0.0.1:8000
# frontend url
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,http://127.0.0.1:5173,https://localhost,https://localhost:5173,https://127.0.0.1:5173"
DOMAIN_PORT="5173"
USE_HASH_ROUTER = "True"
ACCESS_TOKEN_EXPIRE_MINUTES = 60
# secret key and algorithm for auth
# How to make SECRET_KEY: ex) python -c "import secrets; print(secrets.token_urlsafe(64))""
SECRET_KEY=
# ALGORITHM ref: https://github.com/mpdavis/python-jose/blob/master/jose/constants.py
ALGORITHM=
# secret key for encode and decode AI API key(e.g. OpenAI API Key)
# How to make FERNET_SECRET: ex) python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
FERNET_SECRET=
FIRST_SUPERUSER="admin@admin.com" # you should change superuser setting in production
FIRST_SUPERUSER_PASSWORD="changethis"
SMTP_HOST = "smtp.gmail.com"
SMTP_PORT = 587
SMTP_USERNAME =
SMTP_PASSWORD =
EMAILS_FROM_EMAIL = "info@example.com"
EMAILS_FROM_NAME = "Essay Feedback Writer Information"
# Postgres
## Dev(or Prod) DB
POSTGRES_SERVER=localhost
POSTGRES_PORT=5432
POSTGRES_DB=app
POSTGRES_USER=postgres
POSTGRES_PASSWORD=changethis
## Test DB
TEST_POSTGRES_SERVER=localhost
TEST_POSTGRES_PORT=5432
TEST_POSTGRES_DB=test
TEST_POSTGRES_USER=postgres
TEST_POSTGRES_PASSWORD=changethis
# AI API KEY for superuser
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
# LangSmith (observability for LangChain LLM calls)
LANGCHAIN_TRACING_V2=true
LANGSMITH_ENDPOINT=https://api.smith.langchain.com
LANGSMITH_API_KEY=
LANGSMITH_PROJECT=essay-feedback-writer
# DEBUG mode in backend(activate debugpy. Ref: docker-compose.override.yaml & backend/scripts/start-reload.sh)
DEBUG=true