Configuration
This section provides detailed information on how to configure the backend of In App Notification. It covers various settings and options available in the application. Follow the instructions carefully to ensure proper configuration.
Application
Name | Default | Description |
---|---|---|
APP_PORT | 5000 | The application port for serving HTTP requests. |
LOG_LEVEL | info | The logging level. info for production, debug for development. |
Database
Database configurations.
Name | Default | Description |
---|---|---|
SQL_HOST | localhost | The hostname or IP address of the SQL database server. |
SQL_PORT | 5432 | The port number of the database. |
SQL_DATABASE_NAME | postgres | The name of the SQL database to connect to. |
SQL_SCHEMA_NAME | public | The schema name within the SQL database. |
SQL_USER | postgres | The username for authenticating with the SQL database. |
SQL_PASSWORD | postgres | The password for authenticating with the SQL database. |
SQL_PLUGIN_NAME | postgres | The name of the SQL plugin to use for database interactions. |
SQL_SSL_MODE | disable | The SSL mode for the database connections |
SQL_MAX_CONNS | 10 | The maximum number of connections to the database. |
SQL_MAX_IDLE_CONNS | 10 | The maximum number of idle connections to the database. |
SQL_MAX_CONN_LIFETIME | 10m | The maximum lifetime of a connection to the database. |
RTUS Configuration
RTUS configuration to interact with the RTUS module.
Name | Default | Description |
---|---|---|
RTUS_DOMAIN | The RTUS hostname | |
RTUS_MAP_NAME | The map name for ian service |