aboutsummaryrefslogtreecommitdiff
path: root/genenetwork
diff options
context:
space:
mode:
Diffstat (limited to 'genenetwork')
-rw-r--r--genenetwork/services/genenetwork.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm
index 4f3b069..a3eca2b 100644
--- a/genenetwork/services/genenetwork.scm
+++ b/genenetwork/services/genenetwork.scm
@@ -425,7 +425,10 @@ a @code{<genenetwork-configuration>} record."
`(("QCAPP_SECRETS" ,secrets)
("SQL_URI" ,sql-uri)
("UPLOAD_FOLDER" ,(string-append data-directory
- "/uploads")))))))
+ "/uploads"))))))
+ (gn-uploader-profile (profile
+ (content (package->development-manifest gn-uploader))
+ (allow-collisions? #t))))
(list (gunicorn-app
(name "gn-uploader")
(package gn-uploader)
@@ -439,7 +442,10 @@ a @code{<genenetwork-configuration>} record."
(value gn-uploader-conf))
(environment-variable
(name "HOME")
- (value "/tmp"))))
+ (value "/tmp"))
+ (environment-variable
+ (name "GN_UPLOADER_ENVIRONMENT")
+ (value gn-uploader-profile))))
(mappings (list database-mapping
(file-system-mapping
(source gn-uploader-conf)
@@ -450,7 +456,10 @@ a @code{<genenetwork-configuration>} record."
(file-system-mapping
(source data-directory)
(target source)
- (writable? #t))))
+ (writable? #t))
+ (file-system-mapping
+ (source gn-uploader-profile)
+ (target source))))
(extra-cli-arguments (list "--log-level" log-level)))))))
(define (gn-uploader-nginx-server-block config)