From 7306f1127df9d4193adfbfa51295615f13d32b55 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 5 Nov 2024 13:23:51 -0600 Subject: Bind host directory to the container's /tmp directory Since the /tmp directory is used for a lot of things in the code, we bind a host directory to it, so as to allow easier cleanup, and also ensure the container does not run out of disk space. --- production-deploy.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'production-deploy.sh') diff --git a/production-deploy.sh b/production-deploy.sh index 3791f06..a744f41 100755 --- a/production-deploy.sh +++ b/production-deploy.sh @@ -37,6 +37,7 @@ container_script=$(guix system container \ --share=/export2/guix-containers/genenetwork/var/lib/genenetwork-sqlite=/var/lib/genenetwork-sqlite \ --share=/export2/guix-containers/genenetwork/var/lib/genenetwork-gnqa=/var/lib/genenetwork-gnqa \ --share=/var/run/mysqld=/run/mysqld \ + --share=/export2/guix-containers/genenetwork/tmp=/tmp \ production.scm) echo $container_script -- cgit v1.2.3