{ config, pkgs, ... }:
{
services.podman = {
enable = true;
containers."neo4jllm" = {
autoStart = true;
description = "Neo4j Database for LLM vectorstore";
environment = {
NEO4J_AUTH = "none";
# NEO4J_AUTH = "neovectors/neo4jllmpassword"; # change to secret after testing
};
# environmentFile = []; TODO when moving to secrets use an environment file
image = "neo4j:5.26"; # https://hub.docker.com/_/neo4j
ports = [
"7474:7474"
"7687:7687"
];
volumes = [
"/var/lib/neo4j/data:/data"
];
};
};
}