queue-muncher/queue-muncher.yml
RZ_MINIX\rober 1dbb91f8ba Initial push
2025-06-15 20:31:11 -07:00

38 lines
976 B
YAML

version: 1.0
provider:
name: openfaas
gateway: http://192.168.68.70:8084
functions:
queue-muncher:
image: repo.eluxnetworks.net/queue-muncher:latest
labels:
com.openfaas.scale.zero: false
network: "host" # Add this line
environment:
read_timeout: "1h"
write_timeout: "1h"
exec_timeout: "1h"
# RabbitMQ configuration
RABBITMQ_URL: "amqp://well_pipe:wellnuo_2024@192.168.68.70:5672//"
RABBITMQ_QUEUE: "evgrid-dev-demo"
REDIS_HOST: "192.168.68.70"
# Database configuration
DB_NAME: "wellnuo"
DB_USER: "well_app"
DB_PASSWORD: "well_app_2024"
DB_HOST: "192.168.68.70"
DB_PORT: "5432"
MQTTSERVER: "192.168.68.70"
MQTT_PORT: "1883"
# Processing settings
PROCESSING_PERIOD: "300"
QUEUE_LENGTH_THRESHOLD: "1000"
BATCH_SIZE: "100"
deploy:
resources:
limits:
memory: 256Mi
requests:
memory: 128Mi