36 lines
1.7 KiB
YAML
Executable File
36 lines
1.7 KiB
YAML
Executable File
rabbitmq:
|
|
host: $RABBITMQ_HOST|localhost # RabbitMQ host address
|
|
port: $RABBITMQ_PORT|5672 # RabbitMQ host port
|
|
user: $RABBITMQ_USERNAME|user # RabbitMQ username
|
|
password: $RABBITMQ_PASSWORD|bitnami # RabbitMQ password
|
|
heartbeat: $RABBITMQ_HEARTBEAT|7200 # Controls AMQP heartbeat timeout in seconds
|
|
|
|
queues: # Hack image-service queues
|
|
input: image_request_queue # requests to service
|
|
output: image_response_queue # responses by service
|
|
dead_letter: image_dead_letter_queue # messages that failed to process
|
|
|
|
prefetch_count: 2
|
|
|
|
minio:
|
|
host: $STORAGE_ENDPOINT|localhost # MinIO host address
|
|
port: $STORAGE_PORT|9000 # MinIO host port
|
|
user: $STORAGE_KEY|root # MinIO user name
|
|
password: $STORAGE_SECRET|password # MinIO user password
|
|
bucket: $STORAGE_BUCKET_NAME|redaction # MinIO bucket
|
|
|
|
service:
|
|
logging_level: $LOGGING_LEVEL_ROOT|DEBUG # Logging level for log file messages
|
|
logfile_path: $LOGFILE_PATH|null # Overwrites the default path for the service logfile (image_service/log.log)
|
|
name: $SERVICE_NAME|mini-queue-service-v1 # Name of the service in the kubernetes cluster
|
|
storage_backend: $STORAGE_BACKEND|s3 # The storage to pull files to be processed from
|
|
analysis_endpoint: $ANALYSIS_ENDPOINT|localhost
|
|
|
|
webserver:
|
|
host: $SANIC_HOST|"0.0.0.0" # Sanic webserver host address
|
|
process_host: $SANIC_PROCESS_HOST|"127.0.0.1" # Sanic webserver host address for individual service processes
|
|
port: $SANIC_PORT|8080 # Sanic webserver host port
|
|
check_quantifier: $CHECK_QUANTIFIER|any # Whether all or any service instance needs to pass all checks for a passed master check
|
|
cache: false # Whether to cache readiness and health check results
|
|
logging_level_sanic: $LOGGING_LEVEL_SANIC|WARNING
|