aboutsummaryrefslogtreecommitdiff
path: root/genenetwork
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-08-19 09:39:07 -0500
committerFrederick Muriuki Muriithi2024-09-10 10:03:33 -0500
commitc4dd99b433bda51c8e7c4f1b9a46d394a66f4730 (patch)
treec3dbf9c1bb255454f296c96f5868d4843b8374d5 /genenetwork
parenta1298bc6d5c23fb2d25255e2c8e3faa5b8563b4a (diff)
downloadgn-machines-c4dd99b433bda51c8e7c4f1b9a46d394a66f4730.tar.gz
Define new container for gn2-fred* domains.
Diffstat (limited to 'genenetwork')
-rw-r--r--genenetwork/services/genenetwork.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm
index 9808ce5..e5d75ae 100644
--- a/genenetwork/services/genenetwork.scm
+++ b/genenetwork/services/genenetwork.scm
@@ -102,7 +102,8 @@
(gn3-secrets genenetwork-configuration-gn3-secrets
(default "/etc/genenetwork/gn3-secrets.py"))
(gn-auth-secrets genenetwork-configuration-gn-auth-secrets
- (default "/etc/genenetwork")))
+ (default "/etc/genenetwork"))
+ (log-level gn-uploader-log-level (default "WARNING")))
(define-record-type* <gn-uploader-configuration>
gn-uploader-configuration make-gn-uploader-configuration
@@ -304,7 +305,7 @@ G-expressions or numbers."
described by @var{config}, a @code{<genenetwork-configuration>}
object."
(match-record config <genenetwork-configuration>
- (genenetwork2 genenetwork3 gn-auth server-name gn-auth-server-name gn2-port gn3-port gn-auth-port sql-uri auth-db xapian-db genotype-files sparql-endpoint gn-sourcecode-directory gn3-data-directory gn2-secrets gn3-secrets gn-auth-secrets)
+ (genenetwork2 genenetwork3 gn-auth server-name gn-auth-server-name gn2-port gn3-port gn-auth-port sql-uri auth-db xapian-db genotype-files sparql-endpoint gn-sourcecode-directory gn3-data-directory gn2-secrets gn3-secrets gn-auth-secrets log-level)
;; If we mapped only the mysqld.sock socket file, it would break
;; when the external mysqld server is restarted.
(let* ((database-mapping (file-system-mapping
@@ -385,7 +386,8 @@ object."
(file-system-mapping
(source gn2-secrets)
(target source)
- (writable? #t)))))
+ (writable? #t))))
+ (extra-cli-arguments (list "--log-level" log-level)))
(gunicorn-app
(name "genenetwork3")
(package genenetwork3)