diff options
-rwxr-xr-x | production-deploy.sh | 1 | ||||
-rw-r--r-- | production.scm | 14 |
2 files changed, 9 insertions, 6 deletions
diff --git a/production-deploy.sh b/production-deploy.sh index c2c5055..0dfd042 100755 --- a/production-deploy.sh +++ b/production-deploy.sh @@ -23,6 +23,7 @@ container_script=$(guix system container \ --verbosity=3 \ + --share=/var/guix-containers/genenetwork/var/lib/mysql=/var/lib/mysql \ --share=/var/guix-containers/genenetwork/var/lib/virtuoso=/var/lib/virtuoso \ production.scm) diff --git a/production.scm b/production.scm index dba9074..a8ceecf 100644 --- a/production.scm +++ b/production.scm @@ -18,7 +18,8 @@ ;;; <https://www.gnu.org/licenses/>. (use-modules (gnu) - (gn services databases)) + (gn services databases) + (gnu services databases)) (operating-system (host-name "genenetwork") @@ -30,8 +31,9 @@ (file-systems %base-file-systems) (users %base-user-accounts) (packages %base-packages) - (services (cons (service virtuoso-service-type - (virtuoso-configuration - (server-port 8891) - (http-server-port 8892))) - %base-services))) + (services (cons* (service mysql-service-type) + (service virtuoso-service-type + (virtuoso-configuration + (server-port 8891) + (http-server-port 8892))) + %base-services))) |