From 891142f3e1db80f86aef11b478c901a8f8be2684 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 3 Feb 2025 09:15:42 -0600 Subject: Bind the chosen host directory to genenetwork's TMPDIR path. Bind the original host path that was previously bound to the container's /tmp directory to instead be bound to genenetwork's TMPDIR directory. --- production-deploy.sh | 2 +- production.scm | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/production-deploy.sh b/production-deploy.sh index e9e2c22..3d4451c 100755 --- a/production-deploy.sh +++ b/production-deploy.sh @@ -38,7 +38,7 @@ container_script=$(guix system container \ --share=/export2/guix-containers/genenetwork/var/lib/genenetwork-gnqa=/var/lib/genenetwork-gnqa \ --share=/var/run/mysqld=/run/mysqld \ --share=/export/data/gn-docs/ \ - --share=/export2/guix-containers/genenetwork/tmp=/tmp \ + --share=/export2/guix-containers/genenetwork/tmp=/opt/gn/tmp \ --expose=/export2/guix-containers/genenetwork/data/virtuoso=/export/data/virtuoso/ \ production.scm) diff --git a/production.scm b/production.scm index 9f17129..a8324c3 100644 --- a/production.scm +++ b/production.scm @@ -90,5 +90,6 @@ (auth-db "/var/lib/genenetwork-sqlite/auth.db") (llm-db-path "/var/lib/genenetwork-gnqa/llm.db") (gn3-alias-server-port 9800) + (gn-tmpdir "/opt/gn/tmp") (log-level 'debug))) %base-services))) -- cgit 1.4.1