Config Cheat Sheet
This document lists all possible config variables to configure the Librabray service.
Note: A full restart is required for changes to take effect.
General `General`
-
JWTSecret
: The JWT-token used to authenticate users against the API ist signed with this secret. This should be changed when first installing the service.
-
Interface
: The interface with port the server listens on for incoming requests.
Database `Database`
Type
: Can be mysql
or sqlite
. If you use sqlite
, you need to specify Path
.
User
: MySQL usernam
Password
: MySQL password
Host
: MySQL host with port included. You don't need to specify a port if it's the standard port.
Database
: Name of the MySQL database which holds the data.
ShowQueries
: Wherether to print or not raw sql-queries in stdout
.
Path
: When using sqlite, this is the path where to store the data.
All tables are set when the application is first run.
User `User`
Details of the first user to be created, will be admin.
Name
: Full name of the user.
Username
: Username used to login.
Password
: Password used to login.
Email
: Emailadress used to login