#!/usr/bin/env python3 import os """ Configuration variables """ __author__ = "@tormakris" __copyright__ = "Copyright 2020, Birbnetes Team" __module_name__ = "config" __version__text__ = "1" SENTRY_DSN = os.environ.get("SENTRY_DSN") RELEASE_ID = os.environ.get("RELEASE_ID", "test") RELEASEMODE = os.environ.get("GUARD_SERVICE_RELEASEMODE", "dev") RABBIT_HOSTNAME = os.getenv("GUARD_RABBITMQ_HOSTNAME", "localhost") RABBIT_USERNAME = os.getenv("GUARD_RABBITMQ_USERNAME", "guard-service") RABBIT_PASSWORD = os.getenv("GUARD_RABBITMQ_PASSWORD", "guard-service") RABBIT_EXCHANGE = os.getenv("GUARD_RABBITMQ_EXCHANGE", "guard-service") MQTT_HOSTNAME = os.getenv("GUARD_MQTT_HOSTNAME", "localhost") 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")