Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.5 KB

File metadata and controls

37 lines (30 loc) · 1.5 KB

Enviroment variales

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

Common variables Applies to all servers.

Variable Description Default
LRS_HOME The path to the directory where Lires stores its data. ~/.Lires
LRS_KEY The secret key for inter-service communication.
LRS_TERM_LOG_LEVEL The terminal logging level. INFO
LRS_LOG_LEVEL The logging level send to the log server. DEBUG

lires server variables

Variable Description Default
LRS_SSL_KEYFILE The path to the SSL key file. (must be used with LRS_SSL_CERTFILE)
LRS_SSL_CERTFILE The path to the SSL certificate file.
LRS_DEV Set to 1 to enable server auto-reload on file change. 0

lires ai variables

Variable Description Default
HF_HOME The path to the Hugging Face home directory. ~/.cache/huggingface
HF_ENDPONT The Hugging Face API endpoint. "https://huggingface.co"
OPENAI_API_BASE The OpenAI API base URL. "https://api.openai.com/v1
OPENAI_API_KEY The OpenAI API key.

Lires-web build variables

Variable Description Default
VITE_MAINTAINER_NAME The name of the maintainer.
VITE_MAINTAINER_EMAIL The email of the maintainer.