Skip to content

Commit

Permalink
add database posrt env var
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya52 committed Dec 15, 2023
1 parent efa4690 commit 1c38992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion self_hosting_machinery/webgui/selfhost_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def _database_host(self) -> str:

@property
def _database_port(self) -> int:
return 9042
return int(os.environ.get("REFACT_DATABASE_PORT", 9042))

def _create_and_set_keyspace(self):
self._session.execute(f"""
Expand Down

0 comments on commit 1c38992

Please sign in to comment.