diff options
author | Arun Isaac | 2022-08-29 15:05:05 +0530 |
---|---|---|
committer | Arun Isaac | 2022-08-29 15:05:05 +0530 |
commit | 08010c102176d91b956221d59839cc0b180eb323 (patch) | |
tree | 09d8c91a112bd0953806fc5206c04ad176e4290d /production.scm | |
parent | 6d75f6c1d2b976618d8eda25f90f12768450a8a9 (diff) | |
download | gn-machines-08010c102176d91b956221d59839cc0b180eb323.tar.gz |
Run mysql server in production.
* production.scm: Import (gnu services databases).
(operating-system)[services]: Add mysql-service-type.
* production-deploy.sh: Share mysql directory with container.
Diffstat (limited to 'production.scm')
-rw-r--r-- | production.scm | 14 |
1 files changed, 8 insertions, 6 deletions
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))) |