import{_ as t,c as e,o as d,a3 as o}from"./chunks/framework.CXhrtaSR.js";const m=JSON.parse('{"title":"Enviroment variales","description":"","frontmatter":{},"headers":[],"relativePath":"deployment/enviromentVariables.md","filePath":"deployment/enviromentVariables.md","lastUpdated":1711681422000}'),r={name:"deployment/enviromentVariables.md"},a=o('<h1 id="enviroment-variales" tabindex="-1">Enviroment variales <a class="header-anchor" href="#enviroment-variales" aria-label="Permalink to &quot;Enviroment variales&quot;">​</a></h1><p>There are various enviroment variables that can control the behavior of the servers, listed here:</p><p><strong>Common variables</strong> Applies to all servers.</p><table><thead><tr><th>Variable</th><th>Description</th><th>Default</th></tr></thead><tbody><tr><td><code>LRS_HOME</code></td><td>The path to the directory where <code>Lires</code> stores its data.</td><td><code>~/.Lires</code></td></tr><tr><td><code>LRS_TERM_LOG_LEVEL</code></td><td>The terminal logging level.</td><td><code>INFO</code></td></tr><tr><td><code>LRS_LOG_LEVEL</code></td><td>The logging level send to the log server.</td><td><code>DEBUG</code></td></tr></tbody></table><p><strong><code>lires server</code> variables</strong></p><table><thead><tr><th>Variable</th><th>Description</th><th>Default</th></tr></thead><tbody><tr><td><code>LRS_SSL_KEYFILE</code></td><td>The path to the SSL key file. (must be used with <code>LRS_SSL_CERTFILE</code>)</td><td></td></tr><tr><td><code>LRS_SSL_CERTFILE</code></td><td>The path to the SSL certificate file.</td><td></td></tr><tr><td><code>LRS_DEV</code></td><td>Set to <code>1</code> to enable server auto-reload on file change</td><td><code>0</code></td></tr><tr><td><code>TVDB_CACHE_DIR</code></td><td>The path to the <code>tiny_vectordb</code> cache directory.</td><td></td></tr><tr><td><code>TVDB_BACKEND</code></td><td>The <code>tiny_vectordb</code> backend to use, can be set to <code>numpy</code> if error occurs.</td><td><code>cxx</code></td></tr></tbody></table><p><strong><code>lires ai</code> variables</strong></p><table><thead><tr><th>Variable</th><th>Description</th><th>Default</th></tr></thead><tbody><tr><td><code>HF_HOME</code></td><td>The path to the Hugging Face home directory.</td><td><code>~/.cache/huggingface</code></td></tr><tr><td><code>HF_ENDPONT</code></td><td>The Hugging Face API endpoint.</td><td><code>&quot;https://huggingface.co&quot;</code></td></tr><tr><td><code>OPENAI_API_BASE</code></td><td>The OpenAI API base URL.</td><td><code>&quot;https://api.openai.com/v1</code></td></tr><tr><td><code>OPENAI_API_KEY</code></td><td>The OpenAI API key.</td><td></td></tr></tbody></table><p><strong>Lires-web build variables</strong></p><table><thead><tr><th>Variable</th><th>Description</th><th>Default</th></tr></thead><tbody><tr><td><code>VITE_MAINTAINER_NAME</code></td><td>The name of the maintainer.</td><td></td></tr><tr><td><code>VITE_MAINTAINER_EMAIL</code></td><td>The email of the maintainer.</td><td></td></tr></tbody></table>',10),c=[a];function i(h,n,s,l,_,p){return d(),e("div",null,c)}const v=t(r,[["render",i]]);export{m as __pageData,v as default};
