aboutsummaryrefslogtreecommitdiff
path: root/gn/services/bnw-container.scm
diff options
context:
space:
mode:
authorpjotrp2019-12-22 01:03:56 -0600
committerpjotrp2019-12-22 01:03:56 -0600
commit301d23ba0ec3d5b27cf35eb97cf92b6cb1e2f6d9 (patch)
treed2d3c65a8af6c03a279be63a4196c08a4e90c5b9 /gn/services/bnw-container.scm
parent4ab5fa7dbe1eb3312dbba68bd0f7ec7a97befb91 (diff)
parentd0866cff48b0685e302441d879648333e181b267 (diff)
downloadguix-bioinformatics-301d23ba0ec3d5b27cf35eb97cf92b6cb1e2f6d9.tar.gz
Merge branch 'master' of gitlab.com:genenetwork/guix-bioinformatics
Diffstat (limited to 'gn/services/bnw-container.scm')
-rw-r--r--gn/services/bnw-container.scm18
1 files changed, 12 insertions, 6 deletions
diff --git a/gn/services/bnw-container.scm b/gn/services/bnw-container.scm
index cd8562f..13a9317 100644
--- a/gn/services/bnw-container.scm
+++ b/gn/services/bnw-container.scm
@@ -1,6 +1,7 @@
(define-module (gn services bnw-container))
-(use-modules (gnu))
+(use-modules (gnu)
+ (gn packages bnw))
(use-service-modules base networking web)
(operating-system
@@ -22,9 +23,14 @@
(server-blocks
(list
(nginx-server-configuration
- (root "/srv/http/bnw")
+ (server-name '("Bayesian Network"))
+ (listen '("8888"))
+ (root bnw)
(locations
- (list (nginx-php-location)))
- (listen '("8880"))
- (ssl-certificate #f)
- (ssl-certificate-key #f)))))))))
+ (list
+ (nginx-php-location)
+ (nginx-location-configuration
+ (uri "/sourcecodes/data/")
+ (body (list "alias /tmp/bnw/;")))
+ ))
+ ))))))))