45 lines
1.0 KiB
TOML
45 lines
1.0 KiB
TOML
[metrics.prometheus]
|
|
enabled = true
|
|
prefix = "redactmanager_cv_analysis_service"
|
|
|
|
[tracing.opentelemetry]
|
|
enabled = true
|
|
endpoint = "http://otel-collector-opentelemetry-collector.otel-collector:4318/v1/traces"
|
|
service_name = "redactmanager_cv_analyisis_service"
|
|
exporter = "otlp"
|
|
|
|
[webserver]
|
|
host = "0.0.0.0"
|
|
port = 8080
|
|
|
|
[rabbitmq]
|
|
host = "localhost"
|
|
port = 5672
|
|
username = ""
|
|
password = ""
|
|
heartbeat = 60
|
|
# Has to be a divider of heartbeat, and shouldn't be too big, since only in these intervals queue interactions happen (like receiving new messages)
|
|
# This is also the minimum time the service needs to process a message
|
|
connection_sleep = 5
|
|
input_queue = "request_queue"
|
|
output_queue = "response_queue"
|
|
dead_letter_queue = "dead_letter_queue"
|
|
|
|
[storage]
|
|
backend = "s3"
|
|
|
|
[storage.s3]
|
|
bucket = "redaction"
|
|
endpoint = "http://127.0.0.1:9000"
|
|
key = ""
|
|
secret = ""
|
|
region = "eu-central-1"
|
|
|
|
[storage.azure]
|
|
container = "redaction"
|
|
connection_string = ""
|
|
|
|
[storage.tenant_server]
|
|
public_key = ""
|
|
endpoint = "http://tenant-user-management:8081/internal-api/tenants"
|