aboutsummaryrefslogtreecommitdiff
path: root/gn/services
diff options
context:
space:
mode:
authorEfraim Flashner2019-12-18 03:45:11 -0600
committerEfraim Flashner2019-12-18 03:45:11 -0600
commit7011f3389300bc08743c88a8a446be461e44072c (patch)
treeb87d8927f15fd65be9f9a311afdfe4433a3e2397 /gn/services
parentb2749160d40a4cb0e3eacca3088960030e8da8ac (diff)
downloadguix-bioinformatics-7011f3389300bc08743c88a8a446be461e44072c.tar.gz
Update bnw package and service.
Diffstat (limited to 'gn/services')
-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/;")))
+ ))
+ ))))))))