Skip to content

Commit

Permalink
fix(weaviate): fix memberlist error in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jedimahdi committed May 24, 2024
1 parent a228b5b commit c48d048
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nix/weaviate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ in

host = lib.mkOption {
type = types.nullOr types.str;
default = "0.0.0.0";
default = "127.0.0.1";
description = ''
The IP to listen on
'';
Expand Down
7 changes: 6 additions & 1 deletion nix/weaviate_test.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{ pkgs, config, ... }: {
services.weaviate."weaviate1".enable = true;
services.weaviate."weaviate1" = {
enable = true;
envs = {
CLUSTER_ADVERTISE_ADDR = "127.0.0.1";
};
};

settings.processes.test =
let
Expand Down

0 comments on commit c48d048

Please sign in to comment.