diff options
author | Frederick Muriuki Muriithi | 2024-11-05 13:23:51 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-11-05 13:23:51 -0600 |
commit | 7306f1127df9d4193adfbfa51295615f13d32b55 (patch) | |
tree | 0f573207c2828e4ab5a1c53f43c81e30eb4b5a93 | |
parent | 46a1c4c8d01198799e6ac3b99998dca40d2c7094 (diff) | |
download | gn-machines-7306f1127df9d4193adfbfa51295615f13d32b55.tar.gz |
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.
-rwxr-xr-x | production-deploy.sh | 1 |
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 |