aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-05-18 16:02:12 -0500
committerFrederick Muriuki Muriithi2025-07-02 11:52:15 -0500
commita227787297447d0fa3869debb11aaaadeec594f5 (patch)
tree78e2f814ac0775ea7cdb0c09270ff8c874a9e50c
parentbe2defaee9fdb09317c8639c3a104643434bd78d (diff)
downloadgn-machines-a227787297447d0fa3869debb11aaaadeec594f5.tar.gz
Production: bind the gn-docs repository to the container.
-rwxr-xr-xproduction-deploy.sh2
-rw-r--r--production.scm1
2 files changed, 2 insertions, 1 deletions
diff --git a/production-deploy.sh b/production-deploy.sh
index 43ebe3b..1be4167 100755
--- a/production-deploy.sh
+++ b/production-deploy.sh
@@ -36,7 +36,7 @@ container_script=$(guix system container \
--share=/export/guix-containers/genenetwork/var/lib/genenetwork-sqlite=/var/lib/genenetwork-sqlite \
--share=/export/guix-containers/genenetwork/var/lib/genenetwork-gnqa=/var/lib/genenetwork-gnqa \
--share=/var/run/mysqld=/run/mysqld \
- --share=/export/data/gn-docs/ \
+ --share=/export/guix-containers/genenetwork/var/lib/gn-docs.git=/var/lib/gn-docs.git \
--share=/export/guix-containers/genenetwork/tmp=/opt/gn/tmp \
--expose=/export/guix-containers/genenetwork/data/virtuoso=/export/data/virtuoso/ \
--share=/export/guix-containers/genenetwork/var/lib/gn-docs=/export/data/gn-docs \
diff --git a/production.scm b/production.scm
index 9e629f0..d64f8d1 100644
--- a/production.scm
+++ b/production.scm
@@ -88,5 +88,6 @@
(llm-db-path "/var/lib/genenetwork-gnqa/llm.db")
(gn3-alias-server-port 9800)
(gn-tmpdir "/opt/gn/tmp")
+ (gn-doc-git-checkout "/var/lib/gn-docs.git")
(log-level 'debug)))
%base-services)))