From 8bcd9c78476c6047fb01331bdc1d0ccacdd24975 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 20 Sep 2023 13:19:37 +0300 Subject: Pass "secrets" configurations to GN2 We need to pass in secrets to the running applications. This commit does it for GeneNetwork2. --- genenetwork-development-deploy.sh | 1 + genenetwork-development.scm | 1 + 2 files changed, 2 insertions(+) diff --git a/genenetwork-development-deploy.sh b/genenetwork-development-deploy.sh index 673550d..0a15e1a 100755 --- a/genenetwork-development-deploy.sh +++ b/genenetwork-development-deploy.sh @@ -34,6 +34,7 @@ container_script=$(guix system container --network \ --share=/export2/guix-containers/genenetwork-development/var/lib/tissue=/var/lib/tissue \ --share=/export2/guix-containers/genenetwork-development/var/lib/virtuoso=/var/lib/virtuoso \ --share=/export2/guix-containers/genenetwork-development/var/log/cd=/var/log/cd \ + --expose=/export2/guix-containers/genenetwork-development/etc/genenetwork/conf=/etc/genenetwork/conf \ --share=/export/data/genenetwork-virtuoso=/var/lib/data \ --expose=/export/data/genenetwork \ --share=/export/data/genenetwork-xapian \ diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 056bec1..176d37c 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -205,6 +205,7 @@ executed." (setenv "GENENETWORK_FILES" #$genotype-files) (setenv "HOME" "/tmp") (setenv "SQL_URI" "mysql://webqtlout:webqtlout@localhost/db_webqtl") + (setenv "GN2_SETTINGS" "/etc/genenetwork/conf/gn2_settings.py") (chdir "genenetwork2") (apply invoke '#$test-command)))))) -- cgit v1.2.3