about summary refs log tree commit diff
path: root/production-deploy.sh
AgeCommit message (Collapse)Author
2025-07-02Add uploader service to production container.Frederick Muriuki Muriithi
2025-07-02Production: Reorganise filesystem paths for sqlite databases.Frederick Muriuki Muriithi
2025-07-02Production: bind the gn-docs repository to the container.Frederick Muriuki Muriithi
2025-07-02Production: Update filesystem paths from `/export2/*` to `/export/*`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-03-07Change paths for use with tux02.Frederick Muriuki Muriithi
2025-02-24Provide bare checkout of 'gn-docs' for production 'gn-guile'.Frederick Muriuki Muriithi
2025-02-24Use enterprise disk for container data storage.Frederick Muriuki Muriithi
The disk mounted on `/export2` is failing, so we move our data over to the enterprise disk mounted on `/export` instead.
2025-02-19Don't share MariaDB data directory with the production container.Frederick Muriuki Muriithi
2025-02-11Bind the chosen host directory to genenetwork's TMPDIR path.Frederick Muriuki Muriithi
Bind the original host path that was previously bound to the container's /tmp directory to instead be bound to genenetwork's TMPDIR directory.
2025-02-03Bind virtuoso's TTL directory (readonly) to genenetwork container.Frederick Muriuki Muriithi
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.
2024-11-05Bind host directory to the container's /tmp directoryFrederick Muriuki Muriithi
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.
2024-10-29Specify path to LLM database in production.Frederick Muriuki Muriithi
* production.scm (operating-system)[services]{genenetwork-service-type}: Add llm-db-path. * production-deploy.sh: Share /export2/guix-containers/genenetwork/var/lib/genenetwork-gnqa with container. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2024-10-24Move production to tux04.Frederick Muriuki Muriithi
* production-deploy.sh: Update paths for mysql, xapian and genenetwork-sqlite directories. Share path to redis state directory. * production.scm (operating-system)[services]{virtuoso-service-type}: Update server-port and http-server-port. {forge-nginx-service-type}: Update http and https ports. {redis-service-type}: New service. {genenetwork-service-type}: Update server-name, gn-auth-server-name, gn2-port, gn3-port, gn-auth-port, xapian-db, sparql-endpoint and gn3-data-directory. Add auth-db, log-level and gn3-alias-server-port. Remove genotype-files. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2024-07-12Make the container's /var/log directory available on hostFrederick Muriuki Muriithi
Make the container's logs available of the host to help with troubleshooting and some stickiness for the logs.
2024-03-02Restore default auth database path on production.Arun Isaac
* production.scm (operating-system)[services]{genenetwork-service-type}: Remove auth-db field. * production-deploy.sh (container_script): Mount /var/genenetwork.
2024-03-01Set ownership of secrets files.Arun Isaac
* genenetwork/services/genenetwork.scm (genenetwork-activation): Set ownership of secrets files. * production-deploy.sh: Mount secrets files read-write.
2024-01-09Add "=" before --load-path argument value.Arun Isaac
guix requires "=" between argument names and values. * production-deploy.sh: Add "=" before --load-path argument value.
2024-01-03Add GeneNetwork service to production container.Arun Isaac
* production.scm: Import (genenetwork services genenetwork), (forge acme), (forge nginx) and (forge socket). Import shepherd from (gnu packages admin). (operating-system)[sudoers-file]: Allow acme user to restart nginx. (services): Add forge-nginx, acme and genenetwork services.
2023-01-02Register containers as garbage collector roots.Arun Isaac
We don't want the Guix garbage collector accidentally clearing away store items required by the container. So, register them as garbage collector roots. * genenetwork-development-deploy.sh, production-deploy.sh, public-sparql-deploy.sh, virtuoso-deploy.sh: Register containers as garbage collector roots.
2022-12-10Move guix container state to /export2.Arun Isaac
We prefer /export2 to house really large data. * genenetwork-development-deploy.sh, production-deploy.sh, public-sparql-deploy.sh, virtuoso-deploy.sh: Move guix container state to /export2.
2022-08-29Run mysql server in production.Arun Isaac
* production.scm: Import (gnu services databases). (operating-system)[services]: Add mysql-service-type. * production-deploy.sh: Share mysql directory with container.
2022-08-29Run production in separate network namespace.Arun Isaac
The production container need interact with the outside world only through a single Unix socket file on which the GeneNetwork web server listens. Hide all other interfaces to it. * production-deploy.sh (container_script): Remove --network flag.
2022-08-25Add production container.Arun Isaac
* production-deploy.sh, production.scm: New files.