aboutsummaryrefslogtreecommitdiff
path: root/production-deploy.sh
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-11-05 13:23:51 -0600
committerFrederick Muriuki Muriithi2024-11-05 13:23:51 -0600
commit7306f1127df9d4193adfbfa51295615f13d32b55 (patch)
tree0f573207c2828e4ab5a1c53f43c81e30eb4b5a93 /production-deploy.sh
parent46a1c4c8d01198799e6ac3b99998dca40d2c7094 (diff)
downloadgn-machines-7306f1127df9d4193adfbfa51295615f13d32b55.tar.gz
Bind host directory to the container's /tmp directoryHEADmain
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.
Diffstat (limited to 'production-deploy.sh')
-rwxr-xr-xproduction-deploy.sh1
1 files changed, 1 insertions, 0 deletions
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