The environment variables to configure Memos.
At time of writing, there is no clear documentation about possible values. It's possible to convert CLI flags into these variables. Example : CLI flag "--unix-sock" converts to MEMOS_UNIX_SOCK.
Declarations
Type
attribute set of (atom (null, bool, int, float or string))
Default
{
MEMOS_MODE = "prod";
MEMOS_ADDR = "127.0.0.1";
MEMOS_PORT = "5230";
MEMOS_DATA = config.services.memos.dataDir;
MEMOS_DRIVER = "sqlite";
MEMOS_INSTANCE_URL = "http://localhost:5230";
}