HomePhorge
Diffusion kolab dd042f521cc7

Persistency for mariadb, ldap, imap & bridged networking

Description

Persistency for mariadb, ldap, imap & bridged networking

Summary:
Persistency is achieved by taking apart the setup-kolab procedure,
and storing the data in mounted volumes by symlinking the various
directories in bind mounts.
The approach is inspired by the upstream containerization efforts.

Second the container networking is isolated except for meet (for which
we continue to use host-networking due to the large port ranges in use)

This patch also:

  • Resolves the kolab containers dns request via powerdns: By pointing dns to powerdns for the kolab container (via static ip), we can resolve woat queries. For powerdns to start we have to make sure the tables are available from the start,which means we have to drop them again during the migration.
  • Merges all config adjusting scripts in the kolab container
  • Fixes the certificate paths in the proxy
  • Provides backup and restore scripts for the volumes containing the data
  • Fixes various docker-compose startup order issues
  • Splits docker-compose services, which we only use for building images, into a separate docker-compose file. This way docker-compose up/stop/... work as expected.
  • Cleans up the environment variables some, and sets the defaults for a local docker deployment.

Differential Revision: https://git.kolab.org/D3845

Details

Provenance
mollekopfAuthored on Sep 21 2022, 9:24 AM
mollekopfPushed on Oct 19 2022, 5:05 PM
Differential Revision
D3845: Persistency for mariadb, ldap, imap & bridged networking
Parents
rK2242d339e0df: Removed the unused worker
Branches
Unknown
Tags
Unknown

Event Timeline

Christian Mollekopf <mollekopf@apheleia-it.ch> committed rKdd042f521cc7: Persistency for mariadb, ldap, imap & bridged networking (authored by Christian Mollekopf <mollekopf@apheleia-it.ch>).Oct 19 2022, 3:38 PM