From b80c936ec6425d70375694d52ab898044133fe19 Mon Sep 17 00:00:00 2001 From: Aarushi Date: Fri, 18 Oct 2024 13:39:35 +0100 Subject: [PATCH 1/2] add db host --- autogpt_platform/docker-compose.platform.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/autogpt_platform/docker-compose.platform.yml b/autogpt_platform/docker-compose.platform.yml index a0b8f670acd6..020f32201fdc 100644 --- a/autogpt_platform/docker-compose.platform.yml +++ b/autogpt_platform/docker-compose.platform.yml @@ -103,6 +103,7 @@ services: - ENABLE_AUTH=true - PYRO_HOST=0.0.0.0 - AGENTSERVER_HOST=rest_server + - DATABASEMANAGER_HOST=0.0.0.0 ports: - "8002:8000" networks: From 61e72caabc2a8ec1430e2577e397133dc27a81b1 Mon Sep 17 00:00:00 2001 From: Aarushi Date: Fri, 18 Oct 2024 13:43:45 +0100 Subject: [PATCH 2/2] remove unused variable --- autogpt_platform/backend/backend/util/settings.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/autogpt_platform/backend/backend/util/settings.py b/autogpt_platform/backend/backend/util/settings.py index 6e552fadb83d..1ac875fdf92a 100644 --- a/autogpt_platform/backend/backend/util/settings.py +++ b/autogpt_platform/backend/backend/util/settings.py @@ -117,11 +117,6 @@ class Config(UpdateTrackingModel["Config"], BaseSettings): description="The port for agent server daemon to run on", ) - database_api_host: str = Field( - default="0.0.0.0", - description="The host for database server API to run on", - ) - database_api_port: int = Field( default=8005, description="The port for database server API to run on",