From 2ef9cebfa7daaf79ccd1d3a336d19da78af83256 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 20 Jun 2023 17:23:03 +0300 Subject: Add virtuoso allowed dirs --- genenetwork-development-deploy.sh | 1 + genenetwork-development.scm | 1 + public-sparql-deploy.sh | 1 + public-sparql.scm | 1 + 4 files changed, 4 insertions(+) diff --git a/genenetwork-development-deploy.sh b/genenetwork-development-deploy.sh index 85e0cbd..0edd2cb 100755 --- a/genenetwork-development-deploy.sh +++ b/genenetwork-development-deploy.sh @@ -32,6 +32,7 @@ container_script=$(guix system container --network \ --share=/export2/guix-containers/genenetwork-development/var/lib/tissue=/var/lib/tissue \ --share=/export2/guix-containers/genenetwork-development/var/lib/virtuoso=/var/lib/virtuoso \ --share=/export2/guix-containers/genenetwork-development/var/log/cd=/var/log/cd \ + --share=/export/data/genenetwork-virtuoso=/var/lib/data \ --expose=/export/data/genenetwork \ --share=/export/data/genenetwork-xapian \ --share=/export/data/genenetwork-sqlite \ diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 386e401..c10af91 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -1063,6 +1063,7 @@ reverse proxy tissue." (number-of-buffers 4000000) (maximum-dirty-buffers 3000000) (server-port 9081) + (dirs-allowed "/var/lib/data") (http-server-port %virtuoso-sparql-port))) (service genenetwork-service-type (genenetwork-configuration diff --git a/public-sparql-deploy.sh b/public-sparql-deploy.sh index f94dc82..bc4c23a 100755 --- a/public-sparql-deploy.sh +++ b/public-sparql-deploy.sh @@ -24,6 +24,7 @@ container_script=$(guix system container \ --verbosity=3 \ --share=/export2/guix-containers/public-sparql/var/lib/mysql=/var/lib/mysql \ --share=/export2/guix-containers/public-sparql/var/lib/virtuoso=/var/lib/virtuoso \ + --share=/export/data/genenetwork-virtuoso=/var/lib/data \ public-sparql.scm) echo $container_script diff --git a/public-sparql.scm b/public-sparql.scm index 2827f66..9781b5d 100644 --- a/public-sparql.scm +++ b/public-sparql.scm @@ -54,6 +54,7 @@ SPARQL endpoint is listening on." (server-port %virtuoso-port) (http-server-port %sparql-port) (number-of-buffers 4000000) + (dirs-allowed "/var/lib/data") (maximum-dirty-buffers 3000000))) (service nginx-service-type (nginx-configuration -- cgit v1.2.3