2024-10-07 22:08:53 -07:00
|
|
|
#true if you wana run local setup with Ollama
|
2024-09-19 22:50:16 -07:00
|
|
|
IS_LOCAL_SETUP = 'false'
|
|
|
|
|
|
2024-10-08 02:08:11 -07:00
|
|
|
#Your Unstructured IO API Key. Use any value if running a local instance or file upload support isn't needed.
|
|
|
|
|
UNSTRUCTURED_API_KEY = ""
|
|
|
|
|
|
2024-08-12 00:32:42 -07:00
|
|
|
#POSTGRES DB TO TRACK USERS
|
|
|
|
|
POSTGRES_DATABASE_URL = "postgresql+psycopg2://postgres:postgres@localhost:5432/surfsense"
|
|
|
|
|
|
2024-09-19 22:50:16 -07:00
|
|
|
# API KEY TO PREVENT USER REGISTRATION SPAM
|
2024-08-12 00:32:42 -07:00
|
|
|
API_SECRET_KEY = "surfsense"
|
|
|
|
|
|
|
|
|
|
# Your JWT secret and algorithm
|
|
|
|
|
SECRET_KEY = "your_secret_key"
|
|
|
|
|
ALGORITHM = "HS256"
|
|
|
|
|
ACCESS_TOKEN_EXPIRE_MINUTES = 720
|