Skip to content

Enviroment variales

There are various enviroment variables that can control the behavior of the servers, listed here:

Common variables Applies to all servers.

VariableDescriptionDefault
LRS_HOMEThe path to the directory where Lires stores its data.~/.Lires
LRS_TERM_LOG_LEVELThe terminal logging level.INFO
LRS_LOG_LEVELThe logging level send to the log server.DEBUG

lires server variables

VariableDescriptionDefault
LRS_SSL_KEYFILEThe path to the SSL key file. (must be used with LRS_SSL_CERTFILE)
LRS_SSL_CERTFILEThe path to the SSL certificate file.
TVDB_CACHE_DIRThe path to the tiny_vectordb cache directory.
TVDB_BACKENDThe tiny_vectordb backend to use, can be set to numpy if error occurs.cxx

lires ai variables

VariableDescriptionDefault
HF_HOMEThe path to the Hugging Face home directory.~/.cache/huggingface
HF_ENDPONTThe Hugging Face API endpoint."https://huggingface.co"
OPENAI_API_BASEThe OpenAI API base URL."https://api.openai.com/v1
OPENAI_API_KEYThe OpenAI API key.

Lires-web build variables

VariableDescriptionDefault
VITE_MAINTAINER_NAMEThe name of the maintainer.
VITE_MAINTAINER_EMAILThe email of the maintainer.