about summary refs log tree commit diff
path: root/genenetwork
AgeCommit message (Collapse)Author
2025-12-03Expose genotype files directory to uploaderFrederick Muriuki Muriithi
Expose the genotype files directory to the uploader, initially in read-only mode.
2025-12-03gn-uploader: Specify TMPDIR for gn-uploader.Frederick Muriuki Muriithi
2025-12-01Use genenetwork package variants from this channel.Arun Isaac
2025-10-27Share the parent dir for `llm-db-path` with POLA wrapperFrederick Muriuki Muriithi
Share the parent directory for `llm-db-path` with the POLA wrapper, rather than just the file to ensure that the permissions are set up correctly and prevent SQLite from raising an error.
2025-10-27Use 'file://' protocol to force git to do shallow local clone.Frederick Muriuki Muriithi
2025-10-27Pass in the bare repository path to the gexpFrederick Muriuki Muriithi
Pass in the bare repository path to the gexp and use it instead of fetching the value from the environment. This decouples the gexp from changes in the code, e.g. should the environment variable name be changed, we do not have to change this gexp.
2025-10-08gn-uploader: Change ownership of and map secrets directory.Frederick Muriuki Muriithi
* Change the ownership of the secrets directory and all its children rather than just the secrets file. * Expose the secrets directory to the application, rather than just the secrets file. Make the directory writable.
2025-10-08Define and schedule "samples counts" script to run.Frederick Muriuki Muriithi
2025-10-08Map the auth db parent directory rather than just the file.Frederick Muriuki Muriithi
Mapping the file only leads to permission issues within the POLA wrapper since SQLite checks both the file, and the parent directory; because of this, we have to map the parent directory to the POLA wrapper too.
2025-10-04Add mouse-longevity servicePjotr Prins
2025-10-04Add mouse-longevity servicejgart
2025-10-04Add genecup container service.jgart
2025-08-18gn-guile: Setup envvars for X.509 certificates.Frederick Muriuki Muriithi
2025-08-18<genenetwork-configuration>: Track package of 'gn-guile' that's usedFrederick Muriuki Muriithi
* genenetwork/services/genenetwork.scm (<genenetwork-configuration>): Add a configuration to track the 'gn-guile' package (version, build-flags, etc) that is used when setting up the container.
2025-08-18Set runtime directory for gn-guile to writable dir.Frederick Muriuki Muriithi
2025-08-18filesystem mappings: Expose gn-docs checkout parent to pola-wrapper.Frederick Muriuki Muriithi
2025-08-18Activations: Make the parent dir of gn-docs repo checkout writable.Frederick Muriuki Muriithi
2025-08-11gn-guile-port: provide missing config variable.Frederick Muriuki Muriithi
2025-07-21Set GN_GUILE_SERVER_URL for dev container (aka GN4)Pjotr Prins
2025-07-02Increase timeout value for gn-auth and gn-uploader.Frederick Muriuki Muriithi
2025-07-02Define setting for the asynchronous/background jobs sqlite db.Frederick Muriuki Muriithi
2025-07-02Provide common host directory for sqlite databases.Frederick Muriuki Muriithi
2025-03-21uploader-container: Define directory to store sessions in.Frederick Muriuki Muriithi
Redis is being phased out, and part of that is moving the storage of sessions to the file system, rather than in Redis. This commit allows configuration of the path to the directory where the session files will be stored.
2025-03-20GN2: Allow form size up to 50MB in size.Frederick Muriuki Muriithi
2025-03-07GN2: Provide directory to store sessions in.Frederick Muriuki Muriithi
Genenetwork2 changed the way it stores sessions, moving away from using redis to storing the files in the filesystem. This commit binds the host directory to use to store the sessions. It also does basic activation to ensure the directory is writable to the appropriate user.
2025-02-24gn-guile: Set up correct ownership for gn-docs.Frederick Muriuki Muriithi
2025-02-24gn-auth: Remove obsolete configuration variables.Frederick Muriuki Muriithi
2025-02-21Split the tempdirs for various applications.Frederick Muriuki Muriithi
2025-02-20Don't allow GN3 user write permissions to 'TMPDIR'.Frederick Muriuki Muriithi
2025-02-20Assign ownership of 'TMPDIR' and its contents to GN2 user.Frederick Muriuki Muriithi
2025-02-17Grant ownership of genotype-files to GN2 user.Frederick Muriuki Muriithi
2025-02-11Add `gn-tmpdir` configuration setting to <genenetwork-configuration>Frederick Muriuki Muriithi
Add the `gn-tmpdir` configuration setting to help with providing a way to configure a separate temporary directory for the genenetwork services that is separate from the container's `/tmp` directory. This might also help in resolving some issue with `/etc/resolv.conf` not being found in `/tmp` for some reason.
2025-02-03Pass virtuoso's ttl directory to the xapian indexer script.Frederick Muriuki Muriithi
Pass the directory containing virtuoso's turtle (ttl) files to the indexer.
2025-02-03Add 'gn-virtuoso-ttl-directory' setting to genenetwork-configurationFrederick Muriuki Muriithi
The directory containing the turtle (ttl) files for virtuoso is used by the xapian indexer to determine whether or not to run. We provide it as one of the settings we can configure.
2025-01-28gn-uploader: gn-uploader-gunicorn-app: Switch from `let` to `let*`Frederick Muriuki Muriithi
The `gn-uploader-ca-bundle` variable needs the value from the `gn-uploader-profile` variable.
2025-01-28Increase the allowed size of the client request body.Frederick Muriuki Muriithi
Some request (e.g. for mapping) from GN2 can get big, depending on the trait(s) in use. This commit increases the maximum allowed size for the client body to allow bigger requests.
2025-01-06Add gn-guile shepherd service genenetwork-service-type.Munyoki Kilyungi
* genenetwork/services/genenetwork.scm: Import gn-guile, linux-container, git-minimal, shepherd, least-authority, forge utils. (<genenetwork-configuration>)[gn-guile-port, gn-doc-git-checkout]: New fields. (gn-guile-gexp): New g-exp for running gn-guile. (gn-guile-shepherd-service): New shepherd service to run gn-guile. (genenetwork-service-type): Add gn-guile-shepherd-service. * production-deploy.sh (container_script): Export gn-docs directory.
2025-01-03Set ownership for `llm-db-path`.Frederick Muriuki Muriithi
2024-11-12Add AUTH_SERVER_URL setting to GN3Frederick Muriuki Muriithi
2024-11-12Pass log-level to gn-auth applicationFrederick Muriuki Muriithi
2024-11-12Define REQUESTS_CA_BUNDLE envvar for python-requestsFrederick Muriuki Muriithi
Define the `REQUESTS_CA_BUNDLE` for all applications that make use of python's requests library. The library needs to know the location of valid CA certificates in order to work as expected. Expose the CA certificates bundles by adding them to the applications' environments using the mappings objects.
2024-10-29Do not share auth-db with genenetwork3 gunicorn app.Frederick Muriuki Muriithi
GeneNetwork3 should not have direct access to the authorisation database file. * genenetwork/services/genenetwork.scm (genenetwork-gunicorn-apps): Do not mount auth-db into genenetwork3 gunicorn app container. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2024-10-29Add llm-db-path field to genenetwork configuration..Frederick Muriuki Muriithi
* genenetwork/services/genenetwork.scm (<genenetwork-configuration>)[llm-db-path]: New field. (genenetwork-gunicorn-apps): Set LLM_DB_PATH in gn3.conf. Mount LLM database into the container. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2024-10-29Remove obsolete SSL key configuration.Frederick Muriuki Muriithi
* genenetwork/services/genenetwork.scm (genenetwork-gunicorn-apps): Remove SSL_PRIVATE_KEY and AUTH_SERVER_SSL_PUBLIC_KEY. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2024-10-29Enable AI search in genenetwork service.Frederick Muriuki Muriithi
* genenetwork/services/genenetwork.scm (genenetwork-gunicorn-apps): Set AI_SEARCH_ENABLED to True in gn3.conf. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2024-10-24Add GN3 alias server to genenetwork service.Frederick Muriuki Muriithi
* genenetwork/services/genenetwork.scm (<genenetwork-configuration>)[gn3-alias-server-port]: New field. (genenetwork-nginx-server-blocks): Rewrite URLs for the GN3 alias server. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2024-10-24Add sanitizer for log-level configuration field.Arun Isaac
* genenetwork/services/genenetwork.scm: Import (guix diagnostics) and (guix i18n). (sanitize-log-level): New function. (<genenetwork-configuration>)[log-level]: Use sanitize-log-level as the sanitizer. (<gn-uploader-configuration>)[log-level]: Use sanitize-log-level as the sanitizer.
2024-10-24Make <gn-uploader-configuration> log-level a symbol.Arun Isaac
* genenetwork/services/genenetwork.scm (<gn-uploader-configuration>)[log-level]: Change default to the symbol 'warning. * genenetwork/services/genenetwork.scm (gn-uploader-gunicorn-app): Pass --log-level to gunicorn.
2024-10-24Re-format and improve indentation.Arun Isaac
* genenetwork/services/genenetwork.scm (<genenetwork-configuration>, <gn-uploader-configuration>, build-xapian-index-cron-gexp): Re-format and re-indent.
2024-10-24Regularize <gn-uploader-configuration> getter functions.Arun Isaac
* genenetwork/services/genenetwork.scm (<gn-uploader-configuration>)[auth-server-url, gn2-server-url, log-level]: Regularize getter function names.