Skip to content

Commit

Permalink
fix(config): set localhost default value for REANA_HOSTNAME (#630)
Browse files Browse the repository at this point in the history
This PR is part of harmonizing the treatment of REANA_HOSTNAME
accross all REANA components. You can refer to other PRs below.

reanahub/reana#867
reanahub/reana-server#717

Closes reanahub/reana#865
  • Loading branch information
Alputer committed Jan 31, 2025
1 parent bb7b2ff commit fd40874
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion reana_workflow_controller/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,12 @@ def _parse_interactive_sessions_environments(env_var):
REANA_GITLAB_URL = "https://{}".format(REANA_GITLAB_HOST)
"""GitLab API URL"""

REANA_HOSTNAME = os.getenv("REANA_HOSTNAME", "CHANGE_ME")
REANA_HOSTNAME = os.getenv("REANA_HOSTNAME", "localhost")
"""REANA URL"""

REANA_PORT = os.getenv("REANA_PORT", "30443")
"""REANA Port"""

REANA_INGRESS_ANNOTATIONS = json.loads(os.getenv("REANA_INGRESS_ANNOTATIONS", "{}"))
"""REANA Ingress annotations defined by the administrator."""

Expand Down

0 comments on commit fd40874

Please sign in to comment.