aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--genenetwork/services/genenetwork.scm16
1 files changed, 12 insertions, 4 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm
index c1cb17e..a0b799f 100644
--- a/genenetwork/services/genenetwork.scm
+++ b/genenetwork/services/genenetwork.scm
@@ -189,7 +189,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 llm-db)
;; 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
@@ -219,6 +219,7 @@ object."
("SOURCE_DIR" ,gn-sourcecode-directory)
("SPARQL_ENDPOINT" ,sparql-endpoint)
("SQL_URI" ,sql-uri)
+ ("LLM_DB_PATH" ,llm-db)
("XAPIAN_DB_PATH" ,xapian-db)))))
(gn-auth-conf (computed-file "gn-auth.conf"
(configuration-file-gexp
@@ -265,7 +266,11 @@ object."
(target source))
(file-system-mapping
(source gn2-secrets)
- (target source)))))
+ (target source))
+ (file-system-mapping
+ (source llm-db)
+ (target source)
+ (writable? #t)))))
(gunicorn-app
(name "genenetwork3")
(package genenetwork3)
@@ -313,10 +318,13 @@ object."
(file-system-mapping
(source xapian-db)
(target source))
- (file-system-mapping
+ (file-system-mapping
(source auth-db)
+ (target source))
+ (file-system-mapping
+ (source llm-db)
(target source)
- (writable? #t)))))
+ (writable? #t))
(gunicorn-app
(name "gn-auth")
(package gn-auth)