Age | Commit message (Collapse) | Author |
|
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.
|
|
*
production.scm (operating-system)[services]{genenetwork-service-type}:
Remove auth-db field.
* production-deploy.sh (container_script): Mount /var/genenetwork.
|
|
*
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.
|
|
* 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.
|
|
* production.scm (operating-system)[services]{mysql-service-type}: Set
auto-upgrade? to #f.
|
|
* production.scm: Import (gnu services databases).
(operating-system)[services]: Add mysql-service-type.
* production-deploy.sh: Share mysql directory with container.
|
|
* production-deploy.sh, production.scm: New files.
|