Page MenuHomePhorge

Persistency for mariadb, ldap, imap & bridged networking
ClosedPublic

Authored by mollekopf on Sep 29 2022, 9:36 AM.
Tags
None
Referenced Files
F11780298: D3845.id11186.diff
Thu, Apr 18, 9:23 AM
Unknown Object (File)
Wed, Apr 17, 9:44 AM
Unknown Object (File)
Sun, Apr 14, 2:39 PM
Unknown Object (File)
Thu, Apr 4, 9:03 AM
Unknown Object (File)
Thu, Mar 28, 12:10 PM
Unknown Object (File)
Tue, Mar 26, 4:01 AM
Unknown Object (File)
Mar 12 2024, 12:16 AM
Unknown Object (File)
Feb 25 2024, 10:01 PM
Subscribers
None

Details

Reviewers
None
Group Reviewers
Restricted Project
Commits
rKdd042f521cc7: 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.

Diff Detail

Repository
rK kolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mollekopf created this revision.
mollekopf added a reviewer: Restricted Project.Sep 29 2022, 9:39 AM
This revision was not accepted when it landed; it landed in state Needs Review.Oct 20 2022, 11:56 AM
This revision was automatically updated to reflect the committed changes.