diff options
author | Frederick Muriuki Muriithi | 2025-05-15 11:03:33 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-05-15 11:03:33 -0500 |
commit | 1ef542ad7c928c10ef642ff0de9089edb1535f8d (patch) | |
tree | dc4b0bc2b6767a46345d42a9290cec231d4a5737 | |
parent | a2f966d8824663e53431b6505066e659c6f8cf91 (diff) | |
download | gn-machines-1ef542ad7c928c10ef642ff0de9089edb1535f8d.tar.gz |
Production: Reorganise filesystem paths for sqlite databases.
-rwxr-xr-x | production-deploy.sh | 4 | ||||
-rw-r--r-- | production.scm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/production-deploy.sh b/production-deploy.sh index 43ebe3b..dfe9775 100755 --- a/production-deploy.sh +++ b/production-deploy.sh @@ -33,8 +33,8 @@ container_script=$(guix system container \ --share=/export/guix-containers/genenetwork/var/log=/var/log \ --share=/export/guix-containers/genenetwork/etc/genenetwork=/etc/genenetwork \ --share=/export/guix-containers/genenetwork/var/lib/xapian=/var/lib/xapian \ - --share=/export/guix-containers/genenetwork/var/lib/genenetwork-sqlite=/var/lib/genenetwork-sqlite \ - --share=/export/guix-containers/genenetwork/var/lib/genenetwork-gnqa=/var/lib/genenetwork-gnqa \ + --share=/export/guix-containers/genenetwork/var/lib/genenetwork/sqlite/gn-auth=/var/lib/genenetwork/sqlite/gn-auth \ + --share=/export/guix-containers/genenetwork/var/lib/genenetwork/sqlite/genenetwork3=/var/lib/genenetwork/sqlite/genenetwork3 \ --share=/var/run/mysqld=/run/mysqld \ --share=/export/data/gn-docs/ \ --share=/export/guix-containers/genenetwork/tmp=/opt/gn/tmp \ diff --git a/production.scm b/production.scm index 9e629f0..dd736c5 100644 --- a/production.scm +++ b/production.scm @@ -84,8 +84,8 @@ (gn2-secrets "/etc/genenetwork/genenetwork2") (gn3-secrets "/etc/genenetwork/genenetwork3/gn3-secrets.py") (gn-auth-secrets "/etc/genenetwork/gn-auth") - (auth-db "/var/lib/genenetwork-sqlite/auth.db") - (llm-db-path "/var/lib/genenetwork-gnqa/llm.db") + (auth-db "/var/lib/genenetwork/sqlite/gn-auth/auth.db") + (llm-db-path "/var/lib/genenetwork/sqlite/genenetwork3/llm.db") (gn3-alias-server-port 9800) (gn-tmpdir "/opt/gn/tmp") (log-level 'debug))) |