This commit is contained in:
parent
5b15442373
commit
c9602ba3e6
@ -50,5 +50,6 @@ def on_message(channel, method_frame, header_frame, body):
|
||||
|
||||
if __name__ == "__main__":
|
||||
mqtt = MQTT()
|
||||
mqtt.topic = config.MQTT_TOPIC
|
||||
mqtt.connect()
|
||||
setup_rabbit()
|
||||
|
@ -27,6 +27,6 @@ MQTT_HOSTNAME = os.getenv("GUARD_MQTT_HOSTNAME", "localhost")
|
||||
MQTT_PORT = os.getenv("GUARD_MQTT_PORT", "1883")
|
||||
MQTT_USERNAME = os.getenv("GUARD_MQTT_USERNAME", "guard-service")
|
||||
MQTT_PASSWORD = os.getenv("GUARD_MQTT_PASSWORD", "guard-service")
|
||||
MQTT_EXCHANGE = os.getenv("GUARD_MQTT_EXCHANGE", "guard-service")
|
||||
MQTT_TOPIC = os.getenv("GUARD_MQTT_TOPIC", "guard-service")
|
||||
|
||||
INPUT_HOSTNAME = os.getenv("INPUT_SVC_HOSTNAME", "input-service")
|
||||
|
Loading…
Reference in New Issue
Block a user