aboutsummaryrefslogtreecommitdiff
path: root/production-deploy.sh
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-24 17:25:52 +0100
committerArun Isaac2024-10-24 18:31:53 +0100
commitb6a9622988669f6dae3d5ef1813d996fa4d3d2fd (patch)
tree5a98e51cb391086bcd247b66fdc0d215198fd688 /production-deploy.sh
parent3f24e49b577e23a34c047740f1c2cd224fdf18e8 (diff)
downloadgn-machines-b6a9622988669f6dae3d5ef1813d996fa4d3d2fd.tar.gz
Move production to tux04.
* production-deploy.sh: Update paths for mysql, xapian and genenetwork-sqlite directories. Share path to redis state directory. * production.scm (operating-system)[services]{virtuoso-service-type}: Update server-port and http-server-port. {forge-nginx-service-type}: Update http and https ports. {redis-service-type}: New service. {genenetwork-service-type}: Update server-name, gn-auth-server-name, gn2-port, gn3-port, gn-auth-port, xapian-db, sparql-endpoint and gn3-data-directory. Add auth-db, log-level and gn3-alias-server-port. Remove genotype-files. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
Diffstat (limited to 'production-deploy.sh')
-rwxr-xr-xproduction-deploy.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/production-deploy.sh b/production-deploy.sh
index b4924a7..26f06f7 100755
--- a/production-deploy.sh
+++ b/production-deploy.sh
@@ -2,6 +2,7 @@
# genenetwork-machines --- Guix configuration for genenetwork machines
# Copyright © 2022, 2024 Arun Isaac <arunisaac@systemreboot.net>
+# Copyright © 2024 Frederick Muriuki Muriithi <fredmanglis@protonmail.com>
#
# This file is part of genenetwork-machines.
#
@@ -27,13 +28,13 @@ container_script=$(guix system container \
--verbosity=3 \
--share=/export2/guix-containers/genenetwork/var/genenetwork=/var/genenetwork \
--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/redis=/var/lib/redis \
+ --share=/export/mysql/database=/var/lib/mysql \
--share=/export2/guix-containers/genenetwork/var/lib/virtuoso=/var/lib/virtuoso \
--share=/export2/guix-containers/genenetwork/var/log=/var/log \
--share=/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=/export2/guix-containers/genenetwork/var/lib/xapian=/var/lib/xapian \
+ --share=/export2/guix-containers/genenetwork/var/lib/genenetwork-sqlite=/var/lib/genenetwork-sqlite \
--share=/var/run/mysqld=/run/mysqld \
production.scm)