Initial commit on Forgejo
Fresh repository history for elektrine/elektrine-haraka hosted at https://git.elektrine.com/elektrine/elektrine-haraka.
This commit is contained in:
commit
67c1d41a0c
82 changed files with 8713 additions and 0 deletions
34
config/elektrine_queue.ini
Normal file
34
config/elektrine_queue.ini
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
; Elektrine async queue + worker configuration
|
||||
;
|
||||
; Environment variables override these values:
|
||||
; REDIS_URL
|
||||
; ELEKTRINE_QUEUE_NAME
|
||||
; ELEKTRINE_DLQ_NAME
|
||||
; ELEKTRINE_QUEUE_POP_TIMEOUT
|
||||
; ELEKTRINE_QUEUE_MAX_RAW_BYTES
|
||||
; WEBHOOK_MAX_RETRIES
|
||||
; WEBHOOK_RETRY_BASE_MS
|
||||
|
||||
[main]
|
||||
; Keep payload fields aligned with the webhook plugin behavior
|
||||
enabled = true
|
||||
include_headers = true
|
||||
include_body = true
|
||||
include_attachments = true
|
||||
|
||||
; Phoenix webhook URL and auth can also be set here,
|
||||
; but production should use env vars.
|
||||
; url = https://app.example.com/api/haraka/inbound
|
||||
; phoenix_api_key =
|
||||
; timeout = 30000
|
||||
|
||||
[queue]
|
||||
redis_url = redis://redis:6379
|
||||
name = elektrine:inbound
|
||||
dlq_name = elektrine:inbound:dlq
|
||||
pop_timeout_sec = 5
|
||||
max_raw_bytes = 26214400
|
||||
|
||||
[worker]
|
||||
webhook_max_retries = 5
|
||||
webhook_retry_base_delay_ms = 1000
|
||||
Loading…
Add table
Add a link
Reference in a new issue