Skip to content

Commit

Permalink
fixup! ✨(backends) add graylog service
Browse files Browse the repository at this point in the history
  • Loading branch information
quitterie-lcs committed Dec 30, 2021
1 parent e54d315 commit 7bccd8f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/ralph/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,12 @@ def load_config(config_file_path):
"RALPH_CONVERTER_EDX_XAPI_UUID_NAMESPACE", None
)
EXECUTION_ENVIRONMENT = config("RALPH_EXECUTION_ENVIRONMENT", "development")
RALPH_GRAYLOG_HOST = config("RALPH_GRAYLOG_HOST", "graylog")
RALPH_GRAYLOG_PORT = config("RALPH_GRAYLOG_PORT", 12201)
RALPH_GRAYLOG_EXTERNAL_PORT = config("RALPH_GRAYLOG_EXTERNAL_PORT", 9000)
RALPH_GRAYLOG_ADMIN_USERNAME = config("RALPH_GRAYLOG_ADMIN_USERNAME", "admin")
RALPH_GRAYLOG_ADMIN_PASSWORD = config("RALPH_GRAYLOG_ADMIN_PASSWORD", "pass")
GRAYLOG_HOST = config("GRAYLOG_HOST", "graylog")
GRAYLOG_PORT = config("GRAYLOG_PORT", 12201)
GRAYLOG_ADMIN_USERNAME = config("GRAYLOG_ADMIN_USERNAME", "admin")
GRAYLOG_ADMIN_PASSWORD = config("GRAYLOG_ADMIN_PASSWORD", "pass")
GRAYLOG_INPUT_TITLE = config("GRAYLOG_INPUT_TITLE", "TCPInput")
GRAYLOG_INPUT_TYPE = config(
"GRAYLOG_INPUT_TYPE", "org.graylog2.inputs.gelf.tcp.GELFTCPInput"
)
GRAYLOG_API_URL = config("GRAYLOG_API_URL", "http://graylog:9000")

0 comments on commit 7bccd8f

Please sign in to comment.