aboutsummaryrefslogtreecommitdiff
path: root/production.scm
AgeCommit message (Collapse)Author
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.