aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-28 14:13:46 -0500
committerFrederick Muriuki Muriithi2024-06-28 14:15:20 -0500
commite48c3a5d50204e5b6f5abd8729a8a10dd1008626 (patch)
treee7adf4a4a01fb0a843de629f445ee56ccf756298
parenta06f84a35defe18e99cc70de8fb87549726f88eb (diff)
downloadgn-machines-e48c3a5d50204e5b6f5abd8729a8a10dd1008626.tar.gz
Split the secrets directories
Put the secrets for the different services in service-specific directories, all of them sharing the same parent directory.
-rw-r--r--uploader.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/uploader.scm b/uploader.scm
index 5d07feb..2c17c99 100644
--- a/uploader.scm
+++ b/uploader.scm
@@ -65,12 +65,16 @@
(xapian-db "/export/data/genenetwork-xapian")
(genotype-files "/export/data/genenetwork/genotype_files")
(sparql-endpoint "http://localhost:10892/sparql")
- (gn3-data-directory "/export/data/uploader/genenetwork3")))
+ (gn3-data-directory "/export/data/uploader/genenetwork3")
+ (gn2-secrets "/etc/genenetwork/genenetwork2/gn2-secrets.py")
+ (gn3-secrets "/etc/genenetwork/genenetwork3/gn3-secrets.py")
+ (gn-auth-secrets "/etc/genenetwork/gn-auth/gn-auth-secrets.py")))
(service gn-uploader-service-type
(gn-uploader-configuration
(gn-uploader gn-uploader)
(server-name "staging-uploader.genenetwork.org")
(port 10897)
+ (secrets "/etc/genenetwork/gn-uploader/gn-uploader-secrets.py")
(sql-uri "mysql://webqtlout:webqtlout@127.0.0.1:3307/db_webqtl")
(data-directory "/export/data/uploader/gn-uploader")
(log-level "DEBUG")))