diff options
author | Frederick Muriuki Muriithi | 2025-03-17 11:40:30 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-03-21 08:39:46 -0500 |
commit | f4f92b60aba85cf74cb3c38e95daa4e740e6afe4 (patch) | |
tree | b68af5fe325d3351847510b59692a85dd333ff34 /uploader.scm | |
parent | 653edf57e4f945535a37928f7fc653363771a226 (diff) | |
download | gn-machines-f4f92b60aba85cf74cb3c38e95daa4e740e6afe4.tar.gz |
uploader-container: Abstract away paths in the container.
Break the implicit connection between the paths on the host system
with the paths inside the container. This allows the operating-system
definition to define its own paths, regardless of what is on the host.
The builder script will explicitly do the mapping between host
directories and container paths.
We also collect all uploader-related directories under the host path
`/export2/guix-containers/uploader` to make maintenance easier.
Diffstat (limited to 'uploader.scm')
-rw-r--r-- | uploader.scm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/uploader.scm b/uploader.scm index de46f90..5064426 100644 --- a/uploader.scm +++ b/uploader.scm @@ -62,11 +62,10 @@ (gn-auth-port 10896) (sql-uri "mysql://webqtlout:webqtlout@localhost/db_webqtl?unix_socket=/run/mysqld/mysqld.sock&charset=utf8") - (auth-db "/export/data/genenetwork-sqlite/auth.db") - (xapian-db "/export/data/genenetwork-xapian") - (genotype-files "/export/data/genenetwork/genotype_files") + (auth-db "/var/lib/genenetwork-sqlite/auth.db") + (xapian-db "/var/lib/xapian") (sparql-endpoint "http://localhost:10893/sparql") - (gn3-data-directory "/export/data/uploader/genenetwork3") + (gn3-data-directory "/var/genenetwork/data/genenetwork3") (gn2-secrets "/etc/genenetwork/genenetwork2") (gn3-secrets "/etc/genenetwork/genenetwork3/gn3-secrets.py") (gn-auth-secrets "/etc/genenetwork/gn-auth") |