aboutsummaryrefslogtreecommitdiff
path: root/production.scm
AgeCommit message (Collapse)Author
9 daysAdd additional virtuso configuration.Frederick Muriuki Muriithi
* production.scm (operating-system)[services]{virtuoso-service-type}: Add dirs-allowed, number-of-buffers and maximum-dirty-buffers. 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-12Update configurations.Frederick Muriuki Muriithi
2024-07-12Indicate environment in container hostnamesFrederick Muriuki Muriithi
While it is a tiny change, it does help to have an explicit indication of what container you are currently working with, especially when you need to do specific tasks inside the container itself with something like `nsenter …` or `guix container exec …`. With this commit, instead of a generic prompt like: `root@genenetwork /#`, you get a more specific prompt such as `root@genenetwork-production /#` which goes some ways in avoiding mistakes.
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-01Reverse proxy gn-auth on production.Arun Isaac
* genenetwork/services/genenetwork.scm (<genenetwork-configuration>)[gn-auth-server-name]: New field. * genenetwork/services/genenetwork.scm (genenetwork-nginx-server-block): Rename to ... (genenetwork-nginx-server-blocks): ... this. Return list of reverse proxy blocks including one for gn-auth. * genenetwork/services/genenetwork.scm (genenetwork-service-type): Use genenetwork-nginx-server-blocks instead of genenetwork-nginx-server-block. * production.scm (operating-system)[services]{genenetwork-service-type}: Add gn-auth-server-name.
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-12-30Do not auto-upgrade mysql databases in production.Arun Isaac
* production.scm (operating-system)[services]{mysql-service-type}: Set auto-upgrade? to #f.
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-25Add production container.Arun Isaac
* production-deploy.sh, production.scm: New files.