| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
Genenetwork2 changed the way it stores sessions, moving away from
using redis to storing the files in the filesystem. This commit binds
the host directory to use to store the sessions. It also does basic
activation to ensure the directory is writable to the appropriate
user.
|
|
|
|
|
|
The disk mounted on `/export2` is failing, so we move our data over to
the enterprise disk mounted on `/export` instead.
|
|
|
|
Bind the original host path that was previously bound to the
container's /tmp directory to instead be bound to genenetwork's TMPDIR
directory.
|
|
|
|
* genenetwork/services/genenetwork.scm: Import gn-guile, linux-container,
git-minimal, shepherd, least-authority, forge utils.
(<genenetwork-configuration>)[gn-guile-port, gn-doc-git-checkout]: New fields.
(gn-guile-gexp): New g-exp for running gn-guile.
(gn-guile-shepherd-service): New shepherd service to run gn-guile.
(genenetwork-service-type): Add gn-guile-shepherd-service.
* production-deploy.sh (container_script): Export gn-docs directory.
|
|
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.
|
|
*
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>
|
|
* 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>
|
|
Make the container's logs available of the host to help with
troubleshooting and some stickiness for the logs.
|
|
*
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-activation): Set
ownership of secrets files.
* production-deploy.sh: Mount secrets files read-write.
|
|
guix requires "=" between argument names and values.
* production-deploy.sh: Add "=" before --load-path argument value.
|
|
* 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.
|
|
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.
|
|
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.
|
|
* production.scm: Import (gnu services databases).
(operating-system)[services]: Add mysql-service-type.
* production-deploy.sh: Share mysql directory with container.
|
|
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.
|
|
* production-deploy.sh, production.scm: New files.
|