aboutsummaryrefslogtreecommitdiff
path: root/production-deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'production-deploy.sh')
-rwxr-xr-xproduction-deploy.sh10
1 files changed, 9 insertions, 1 deletions
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 <arunisaac@systemreboot.net>
+# Copyright © 2022, 2024 Arun Isaac <arunisaac@systemreboot.net>
#
# 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