-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
36 lines (33 loc) · 1.25 KB
/
Copy path.env.example
File metadata and controls
36 lines (33 loc) · 1.25 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
# This file includes global variables that will be available inside your project
# 1. In the front end code you can access this variables like this: console.log(import.meta.env.VARIABLE_NAME)
# 1. In the back end code you access the variable by importing os and then typing print(os.getenv('VARIABLE_NAME'))
# Back-End Variables
DATABASE_URL=postgres://gitpod:postgres@localhost:5432/example
FLASK_APP_KEY="any key works"
FLASK_APP=src/app.py
FLASK_DEBUG=1
DEBUG=TRUE
# Front-End Variables
VITE_BASENAME=/
#VITE_BACKEND_URL=
# Authentication (#22): generate a random value; never commit the real secret.
JWT_SECRET_KEY=
FRONTEND_ORIGIN=http://localhost:3000
AUTH_RESET_URL=http://localhost:3000/reset-password
# Local simulation only with FLASK_DEBUG=1; reset links are private files.
# AUTH_RESET_OUTBOX=.local/reset-outbox
# SMTP_HOST=
# SMTP_PORT=587
# SMTP_FROM=
# SMTP_USER=
# SMTP_PASSWORD=
# Admin is disabled by default; local development only.
ENABLE_DEV_ADMIN=0
# Set false to connect the authentication UI to the backend.
VITE_USE_MOCK_API=false
VITE_BACKEND_URL=http://localhost:3001
# Private embeddings service — backend only
KNOWLEDGE_EMBEDDINGS_URL=
KNOWLEDGE_EMBEDDINGS_API_KEY=
KNOWLEDGE_EMBEDDINGS_MODEL=embeddinggemma
KNOWLEDGE_EMBEDDINGS_DIMENSIONS=768