Files
AudioBookRequest/docs/concepts/index.xml
2025-08-16 09:21:13 +00:00

19 lines
5.3 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Concepts on AudioBookRequest Docs</title>
<link>https://markbeep.github.io/AudioBookRequest/docs/concepts/</link>
<description>Recent content in Concepts on AudioBookRequest Docs</description>
<generator>Hugo</generator>
<language>en</language>
<atom:link href="https://markbeep.github.io/AudioBookRequest/docs/concepts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Environment Variables</title>
<link>https://markbeep.github.io/AudioBookRequest/docs/concepts/environment-variables/</link>
<pubDate>Mon, 09 Jun 2025 13:46:33 +0200</pubDate>
<guid>https://markbeep.github.io/AudioBookRequest/docs/concepts/environment-variables/</guid>
<description>&lt;table&gt;&#xA; &lt;thead&gt;&#xA; &lt;tr&gt;&#xA; &lt;th&gt;ENV&lt;/th&gt;&#xA; &lt;th&gt;Description&lt;/th&gt;&#xA; &lt;th&gt;Default&lt;/th&gt;&#xA; &lt;/tr&gt;&#xA; &lt;/thead&gt;&#xA; &lt;tbody&gt;&#xA; &lt;tr&gt;&#xA; &lt;td&gt;&lt;code&gt;ABR_APP__PORT&lt;/code&gt;&lt;/td&gt;&#xA; &lt;td&gt;The port to run the server on.&lt;/td&gt;&#xA; &lt;td&gt;8000&lt;/td&gt;&#xA; &lt;/tr&gt;&#xA; &lt;tr&gt;&#xA; &lt;td&gt;&lt;code&gt;ABR_APP__DEBUG&lt;/code&gt;&lt;/td&gt;&#xA; &lt;td&gt;If to enable debug mode. Not recommended for production.&lt;/td&gt;&#xA; &lt;td&gt;false&lt;/td&gt;&#xA; &lt;/tr&gt;&#xA; &lt;tr&gt;&#xA; &lt;td&gt;&lt;code&gt;ABR_APP__OPENAPI_ENABLED&lt;/code&gt;&lt;/td&gt;&#xA; &lt;td&gt;If set to &lt;code&gt;true&lt;/code&gt;, enables an OpenAPI specs page on &lt;code&gt;/docs&lt;/code&gt;.&lt;/td&gt;&#xA; &lt;td&gt;false&lt;/td&gt;&#xA; &lt;/tr&gt;&#xA; &lt;tr&gt;&#xA; &lt;td&gt;&lt;code&gt;ABR_APP__CONFIG_DIR&lt;/code&gt;&lt;/td&gt;&#xA; &lt;td&gt;The directory path where persistant data and configuration is stored. If ran using Docker or Kubernetes, this is the location a volume should be mounted to.&lt;/td&gt;&#xA; &lt;td&gt;/config&lt;/td&gt;&#xA; &lt;/tr&gt;&#xA; &lt;tr&gt;&#xA; &lt;td&gt;&lt;code&gt;ABR_APP__LOG_LEVEL&lt;/code&gt;&lt;/td&gt;&#xA; &lt;td&gt;One of &lt;code&gt;DEBUG&lt;/code&gt;, &lt;code&gt;INFO&lt;/code&gt;, &lt;code&gt;WARN&lt;/code&gt;, &lt;code&gt;ERROR&lt;/code&gt;.&lt;/td&gt;&#xA; &lt;td&gt;INFO&lt;/td&gt;&#xA; &lt;/tr&gt;&#xA; &lt;tr&gt;&#xA; &lt;td&gt;&lt;code&gt;ABR_APP__BASE_URL&lt;/code&gt;&lt;/td&gt;&#xA; &lt;td&gt;Defines the base url the website is hosted at. If the website is accessed at &lt;code&gt;example.org/abr/&lt;/code&gt;, set the base URL to &lt;code&gt;/abr/&lt;/code&gt;&lt;/td&gt;&#xA; &lt;td&gt;&lt;/td&gt;&#xA; &lt;/tr&gt;&#xA; &lt;tr&gt;&#xA; &lt;td&gt;&lt;code&gt;ABR_DB__SQLITE_PATH&lt;/code&gt;&lt;/td&gt;&#xA; &lt;td&gt;If relative, path and name of the sqlite database in relation to &lt;code&gt;ABR_APP__CONFIG_DIR&lt;/code&gt;. If absolute (path starts with &lt;code&gt;/&lt;/code&gt;), the config dir is ignored and only the absolute path is used.&lt;/td&gt;&#xA; &lt;td&gt;db.sqlite&lt;/td&gt;&#xA; &lt;/tr&gt;&#xA; &lt;tr&gt;&#xA; &lt;td&gt;&lt;code&gt;ABR_APP__DEFAULT_REGION&lt;/code&gt;&lt;/td&gt;&#xA; &lt;td&gt;Default audible region to use for the search. Has to be one of &lt;code&gt;us, ca, uk, au, fr, de, jp, it, in, es, br&lt;/code&gt;.&lt;/td&gt;&#xA; &lt;td&gt;us&lt;/td&gt;&#xA; &lt;/tr&gt;&#xA; &lt;tr&gt;&#xA; &lt;td&gt;&lt;code&gt;ABR_APP__FORCE_LOGIN_TYPE&lt;/code&gt;&lt;/td&gt;&#xA; &lt;td&gt;Forces the login type and prevents it from being modified. Can be one of &lt;code&gt;basic&lt;/code&gt;, &lt;code&gt;forms&lt;/code&gt;, &lt;code&gt;oidc&lt;/code&gt;, or &lt;code&gt;none&lt;/code&gt; to disable the login. &lt;code&gt;oidc&lt;/code&gt; requires both the &lt;code&gt;ABR_APP__INIT_ROOT_USERNAME&lt;/code&gt; and &lt;code&gt;ABR_APP__INIT_ROOT_PASSWORD&lt;/code&gt; environment variables to be set.&lt;/td&gt;&#xA; &lt;td&gt;&lt;/td&gt;&#xA; &lt;/tr&gt;&#xA; &lt;tr&gt;&#xA; &lt;td&gt;&lt;code&gt;ABR_APP__INIT_ROOT_USERNAME&lt;/code&gt;&lt;/td&gt;&#xA; &lt;td&gt;Sets the initial username of the root user when first launching ABR. Has no effect if a root admin already exists.&lt;/td&gt;&#xA; &lt;td&gt;&lt;/td&gt;&#xA; &lt;/tr&gt;&#xA; &lt;tr&gt;&#xA; &lt;td&gt;&lt;code&gt;ABR_APP__INIT_ROOT_PASSWORD&lt;/code&gt;&lt;/td&gt;&#xA; &lt;td&gt;Sets the initial password of the root user when first launching ABR. Has no effect if a root admin already exists.&lt;/td&gt;&#xA; &lt;td&gt;&lt;/td&gt;&#xA; &lt;/tr&gt;&#xA; &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&#xA;&#xA;&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;&#xA;&lt;h4 class=&#34;alert-heading&#34;&gt;Note&lt;/h4&gt;&#xA;&#xA; There are two underscores (&lt;code&gt;__&lt;/code&gt;) between the first&#xA;and second part of each environment variable like between &lt;code&gt;ABR_APP&lt;/code&gt; and &lt;code&gt;PORT&lt;/code&gt;.&#xA;&#xA;&lt;/div&gt;</description>
</item>
</channel>
</rss>