diff options
author | Frederick Muriuki Muriithi | 2023-09-20 13:19:37 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-09-20 13:19:37 +0300 |
commit | 8bcd9c78476c6047fb01331bdc1d0ccacdd24975 (patch) | |
tree | 0b7cf19fca094924db7596bfd8967b14f30f78ad | |
parent | 86c501101ed94e7ac927dec3313db78b27eea807 (diff) | |
download | gn-machines-8bcd9c78476c6047fb01331bdc1d0ccacdd24975.tar.gz |
Pass "secrets" configurations to GN2
We need to pass in secrets to the running applications. This commit
does it for GeneNetwork2.
-rwxr-xr-x | genenetwork-development-deploy.sh | 1 | ||||
-rw-r--r-- | genenetwork-development.scm | 1 |
2 files changed, 2 insertions, 0 deletions
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)))))) |