From 9b38443da7c4075cda666726f04f0daff1433dc1 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 3 Jan 2024 00:44:41 +0000 Subject: Add GeneNetwork service to production container. * production.scm: Import (genenetwork services genenetwork), (forge acme), (forge nginx) and (forge socket). Import shepherd from (gnu packages admin). (operating-system)[sudoers-file]: Allow acme user to restart nginx. (services): Add forge-nginx, acme and genenetwork services. --- production-deploy.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'production-deploy.sh') diff --git a/production-deploy.sh b/production-deploy.sh index c774a31..d87a459 100755 --- a/production-deploy.sh +++ b/production-deploy.sh @@ -1,7 +1,7 @@ #! /bin/sh -e # genenetwork-machines --- Guix configuration for genenetwork machines -# Copyright © 2022 Arun Isaac +# Copyright © 2022, 2024 Arun Isaac # # This file is part of genenetwork-machines. # @@ -22,9 +22,17 @@ # Build and install genenetwork production container on tux02. container_script=$(guix system container \ + --network \ + --load-path . \ --verbosity=3 \ + --share=/export2/guix-containers/genenetwork/var/lib/acme=/var/lib/acme \ --share=/export2/guix-containers/genenetwork/var/lib/mysql=/var/lib/mysql \ --share=/export2/guix-containers/genenetwork/var/lib/virtuoso=/var/lib/virtuoso \ + --expose=/export2/guix-containers/genenetwork/etc/genenetwork=/etc/genenetwork \ + --expose=/export/data/genenetwork-xapian \ + --share=/export/data/genenetwork-sqlite \ + --expose=/export/data/genenetwork/genotype_files \ + --share=/var/run/mysqld=/run/mysqld \ production.scm) echo $container_script -- cgit v1.2.3