FYI: I've just started working on this.
3 Likes
Here it is: I'm very excited about your feedback!
getodk:master
← mattelacchiato:master
opened 12:17PM - 22 Oct 21 UTC
This is a proposal as requested by @yanokwa at
https://forum.getodk.org/t/host-… odk-central-docker-images-on-github-container-registry/29812/19?u=mattelacchiato
It introduces the usage of Github actions to build the docker images in
Github and host them at ghcr.io (the github package repository). For
open source projects, the infrastructure is for free.
Additionally, I've removed the unnamed volumes from the
docker-compose.yml. The reason is that unnamed volumes are hard to
backup. Currently, the enketo secrets are not part of the backup, which
is really bad if you have to recover your installation and all public
links are not working anymore for submitters.
For the same aspect of easier backup on OS-level, I moved the postgres
and redis folder to a local volume, too.
I switch the secrets docker base image from node to alpine, which is
much more lightweight. We don't need node for a simple bash script
execution.
This setup will increase the benefits for experienced administrators
without removing any convenience for beginners.
4 Likes
Thanks for starting making PR! I will try it out and leave any feedback.
Additionally I was wondering if anyone has started on this:
A distant dream would be a working helm chart for ODK Central 3,
In any event, a project we are starting soon could include some work on such a Helm chart.
That's for getting the ball rolling again @TobiasMcNulty with PR #546
Did you start on a Helm chart by any chance? I have done this a few times before & would happily contribute one - just don't want to duplicate efforts!