From 5dce3bddf728ae82bf40cc6ad223cff9afcf3955 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 28 Oct 2024 16:26:53 -0500 Subject: Specify path to LLM database in production. * production.scm (operating-system)[services]{genenetwork-service-type}: Add llm-db-path. * production-deploy.sh: Share /export2/guix-containers/genenetwork/var/lib/genenetwork-gnqa with container. Signed-off-by: Arun Isaac --- production-deploy.sh | 1 + production.scm | 1 + 2 files changed, 2 insertions(+) diff --git a/production-deploy.sh b/production-deploy.sh index 26f06f7..3791f06 100755 --- a/production-deploy.sh +++ b/production-deploy.sh @@ -35,6 +35,7 @@ container_script=$(guix system container \ --share=/export2/guix-containers/genenetwork/etc/genenetwork=/etc/genenetwork \ --share=/export2/guix-containers/genenetwork/var/lib/xapian=/var/lib/xapian \ --share=/export2/guix-containers/genenetwork/var/lib/genenetwork-sqlite=/var/lib/genenetwork-sqlite \ + --share=/export2/guix-containers/genenetwork/var/lib/genenetwork-gnqa=/var/lib/genenetwork-gnqa \ --share=/var/run/mysqld=/run/mysqld \ production.scm) diff --git a/production.scm b/production.scm index e5acefb..3a23ac6 100644 --- a/production.scm +++ b/production.scm @@ -85,6 +85,7 @@ (gn3-secrets "/etc/genenetwork/genenetwork3/gn3-secrets.py") (gn-auth-secrets "/etc/genenetwork/gn-auth") (auth-db "/var/lib/genenetwork-sqlite/auth.db") + (llm-db-path "/var/lib/genenetwork-gnqa/llm.db") (gn3-alias-server-port 9800) (log-level 'debug))) %base-services))) -- cgit v1.2.3