aboutsummaryrefslogtreecommitdiff
path: root/production-deploy.sh
AgeCommit message (Collapse)Author
40 hoursBind host directory to the container's /tmp directoryHEADmainFrederick 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.
9 daysSpecify 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>
14 daysMove 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.