[Koha-devel] Notes about Docker Swarm / Portainer and Koha

Tomas Cohen Arazi tomascohen at gmail.com
Fri Jun 11 17:04:54 CEST 2021


Hi all, for the 21.05 release, I proposed to launch the API docs site [1].
I did it on Theke's infrastructure for simplicity, but then started
thinking how management could be handed to the community.

This site is provided by a docker image [2] that is built on each change on
the Koha community repository. This is triggered by webhooks.

With the idea that this image should be deployed in production
automatically, I deployed a Portainer service. Portainer would let us
configure and deploy (dockerized) services in a fairly easy way, has an
API, and also provides webhooks for triggering things like
redeploying/updating (what I needed for api.koha-community.org).

Right now this is running under Theke's umbrella, but my idea is to hand
this to the community, especially those running the services we use. The
short term plan would be to:

1. Have the following domains point to the server we are providing:
- traefik.koha-community.org
- portainer.koha-community.org
- api.koha-community.org

2. Migrate Jenkins into this server/setup

3. Anyone running server for community purposes, can make them join this
'swarm' so we can use them.

4. There will be some community members with admin access to this, so we
can all do maintenance tasks like restarting a service, etc.

5. Help is needed regarding backups and how we want to deal with that.

We volunteer to help anyone running community sites migrate to this schema.

[1] https://api.koha-community.org
[2] https://gitlab.com/koha-community/koha-api-docs/-/pipelines/316321820


-- 
Tomás Cohen Arazi
Theke Solutions (http://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210611/5a8ba0e0/attachment.htm>


More information about the Koha-devel mailing list