update topic
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-07-18 15:18:19 +02:00
parent 5b15442373
commit c9602ba3e6
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
2 changed files with 2 additions and 1 deletions

View File

@ -50,5 +50,6 @@ def on_message(channel, method_frame, header_frame, body):
if __name__ == "__main__": if __name__ == "__main__":
mqtt = MQTT() mqtt = MQTT()
mqtt.topic = config.MQTT_TOPIC
mqtt.connect() mqtt.connect()
setup_rabbit() setup_rabbit()

View File

@ -27,6 +27,6 @@ MQTT_HOSTNAME = os.getenv("GUARD_MQTT_HOSTNAME", "localhost")
MQTT_PORT = os.getenv("GUARD_MQTT_PORT", "1883") MQTT_PORT = os.getenv("GUARD_MQTT_PORT", "1883")
MQTT_USERNAME = os.getenv("GUARD_MQTT_USERNAME", "guard-service") MQTT_USERNAME = os.getenv("GUARD_MQTT_USERNAME", "guard-service")
MQTT_PASSWORD = os.getenv("GUARD_MQTT_PASSWORD", "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") INPUT_HOSTNAME = os.getenv("INPUT_SVC_HOSTNAME", "input-service")