diff options
author | pjotrp | 2019-12-22 01:03:56 -0600 |
---|---|---|
committer | pjotrp | 2019-12-22 01:03:56 -0600 |
commit | 301d23ba0ec3d5b27cf35eb97cf92b6cb1e2f6d9 (patch) | |
tree | d2d3c65a8af6c03a279be63a4196c08a4e90c5b9 /gn/services/bnw-container.scm | |
parent | 4ab5fa7dbe1eb3312dbba68bd0f7ec7a97befb91 (diff) | |
parent | d0866cff48b0685e302441d879648333e181b267 (diff) | |
download | guix-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.scm | 18 |
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/;"))) + )) + )))))))) |