aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-28 16:26:53 -0500
committerArun Isaac2024-10-29 22:39:44 +0000
commit5dce3bddf728ae82bf40cc6ad223cff9afcf3955 (patch)
tree876fe9aff33f34963487c29bdfb668157e747dfa
parent55ccfdffeed950ca8a8549b5985e13eb136f6aa6 (diff)
downloadgn-machines-5dce3bddf728ae82bf40cc6ad223cff9afcf3955.tar.gz
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 <arunisaac@systemreboot.net>
-rwxr-xr-xproduction-deploy.sh1
-rw-r--r--production.scm1
2 files changed, 2 insertions, 0 deletions
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)))