diff --git a/deploy.env b/deploy.env index 7694d1eb..e3421340 100644 --- a/deploy.env +++ b/deploy.env @@ -117,7 +117,7 @@ APPFLOWY_AI_SERVER_HOST=ai APPFLOWY_AI_DATABASE_URL=postgresql+psycopg://postgres:password@postgres:5432/postgres # AppFlowy History -APPFLOWY_HISTORY_URL=http://history:50051 +APPFLOWY_HISTORY_URL=http://localhost:50051 APPFLOWY_HISTORY_REDIS_URL=redis://redis:6379 APPFLOWY_HISTORY_DATABASE_URL=postgres://postgres:password@postgres:5432/postgres diff --git a/dev.env b/dev.env index 0520b40c..6baa6ebd 100644 --- a/dev.env +++ b/dev.env @@ -108,7 +108,7 @@ APPFLOWY_AI_SERVER_HOST=localhost APPFLOWY_AI_DATABASE_URL=postgresql+psycopg://postgres:password@postgres:5432/postgres # AppFlowy History -APPFLOWY_HISTORY_URL=http://history:50051 +APPFLOWY_HISTORY_URL=http://localhost:50051 APPFLOWY_HISTORY_REDIS_URL=redis://redis:6379 APPFLOWY_HISTORY_DATABASE_URL=postgres://postgres:password@postgres:5432/postgres diff --git a/src/application.rs b/src/application.rs index 6e5114e6..69e093cb 100644 --- a/src/application.rs +++ b/src/application.rs @@ -249,7 +249,10 @@ pub async fn init_state(config: &Config, rt_cmd_tx: CLCommandSender) -> Result