queue usage - usil/eventhos-api GitHub Wiki
Environment variables
Variable | Description | Default Value |
---|---|---|
DATA_BASE_NAME | The eventhos platform database name | eventhos |
DATA_BASE_HOST | The eventhos platform database host | localhost |
DATA_BASE_PORT | The eventhos platform database port | 3306 |
DATA_BASE_USER | The eventhos platform database user | usr_eventhos |
DATA_BASE_PASSWORD | The eventhos platform database password | abcdefg |
CPU_COUNT | How many cpu cores use | 1 |
PORT | The application port | 2109 |
JWT_SECRET | The secret for the JWT creation | secret |
CRYPTO_KEY | The secret key to encrypt | secret_key |
DATA_BASE_ACQUIRE_CONNECTION_TIMEOUT | The timeout to acquire a connection using knex | 10000 |
DATA_BASE_POOL_MIN | The minimum knex connection pool | 100 |
DATA_BASE_POOL_MAX | The maximum knex connection pool | 300 |
SMTP_HOST | Sender identifier | |
SMTP_PORT | Communication endpoint that defines the routing of email transactions | |
SMTP_USER | User of your mail server | |
SMTP_PASSWORD | Password of your mail server | |
SMTP_SECURE | Encrypt | true |
SMTP_TLS_CIPHERS | Are algorithms that help secure network connections that use Transport Layer Security | SSLv3 |
SMTP_DEFAULT_RECIPIENT | Default recipients if there aren't recipients in a contract or if there are error before event's send | |
USE_QUEUE | Use the queue integration? | false |
QUEUE_HOST | The host of the queue manager | localhost |
QUEUE_PORT | The port of the queue manager | 61613 |
QUEUE_USER | A user to access the queue manager | eventhos |
QUEUE_PASSWORD | A user password to access the queue manager | secret |
QUEUE_DESTINATION | The queue destination | eventhos |
QUEUE_HEART_BEAT | The hearth beat for the queue manager | 0,0 |
QUEUE_HEADERS_HOST | The host to send in the headers | / |
LOG_FILE_PATH | Use a file for the logs | false |
LOG_LEVEL | Set the logger level | debug |