aboutsummaryrefslogtreecommitdiff
path: root/production.scm
AgeCommit message (Expand)Author
2024-07-12Update configurations.Frederick Muriuki Muriithi
2024-07-12Indicate environment in container hostnames...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. Frederick Muriuki Muriithi
2024-03-02Restore default auth database path on production....* production.scm (operating-system)[services]{genenetwork-service-type}: Remove auth-db field. * production-deploy.sh (container_script): Mount /var/genenetwork. Arun Isaac
2024-03-01Reverse proxy gn-auth on production....* 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. Arun Isaac
2024-01-03Add GeneNetwork service to production container....* 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. Arun Isaac
2023-12-30Do not auto-upgrade mysql databases in production....* production.scm (operating-system)[services]{mysql-service-type}: Set auto-upgrade? to #f. Arun Isaac
2022-08-29Run mysql server in production....* production.scm: Import (gnu services databases). (operating-system)[services]: Add mysql-service-type. * production-deploy.sh: Share mysql directory with container. Arun Isaac
2022-08-25Add production container....* production-deploy.sh, production.scm: New files. Arun Isaac