Configuration
Configuration variables
All these variables can be passed to executables as command-line arguments (see --help
for more information), as environment variables, or in .env
file.
Environment variable | Required | Description |
---|---|---|
NOTIFICO_DB | Database URL used as persistent data storage. Notifico supports SQLite, PostgreSQL, MySQL (MariaDB) and their derivatives. |
|
NOTIFICO_SECRET_KEY | Secret key, used for various needs. Mainly, for creating JWT tokens. Can be any printable sequence. | |
NOTIFICO_AMQP_URL | AMQP broker URL address. Virtual hosts are currently not supported. Example: amqp://guest:guest@127.0.0.1 for local RabbitMQ instance. |
|
NOTIFICO_HTTP_INGEST_BIND | Local address for ingest service. | |
NOTIFICO_WEB_BIND | Local address for web service. | |
NOTIFICO_USERAPI_BIND | Local address for userapi service. | |
NOTIFICO_USERAPI_URL | User-facing address for userapi service | |
NOTIFICO_CREDENTIALS_PATH | Default: /var/lib/notifico/credentials.toml |
Credentials
Credentials are stored in TOML format. You can add as many configurations as you need for different services.
See channels documentation for credential format.