This repository manages services required for dockerized OpenSlides 3 deployments that are not managed in the main repository.
Currently, these services are:
- openslides-repmgr
- openslides-pgbouncer
- openslides-postfix
You can build the Docker images using the provided build.sh
script.
You can no longer start OpenSlides based on these images or this repository alone, however. Instead, you need to use OpenSlides' main repository as a starting point.
The contrib
directory contains scripts and other resources to help manage
multi-instance setups. osinstancectl
/osstackctl
handles most regular
management tasks. Additional scripts are included to, inter alia, manage
backup mode on database clusters.
An HAProxy configuration file (haproxy.cfg.example
) illustrates a possible
setup for hosting multiple instances. It assumes a setup with Let's Encrypt
provided by acmetool.
Please see the provided example hook scripts for a way to integrate acmetool
into osinstancectl
. Other ACME clients can be configured accordingly.
Legacy instances stored their configuration files in the database which is no longer true for the current configuration concept. Instead, instances are configured through variables in .env.
Migration steps:
- Make a backup of your instance directory
- Update the management environment
- Clone the main OpenSlides repository to /srv/openslides/OpenSlides/
- Follow the included instructions for building new server and client images
- Update osinstancectl/osstackctl from this repository
- Run
./contrib/export-db-settings.sh <instance directory>
- Update server and client to the new images
- Remove the instance's deprecated prioserver service
The migration path for the initial type of Compose-only instances has become incompatible with the current setup. To migrate very old instances, you will have to go through an intermediate version such as 168646d first, and then follow the above instructions to migrate them to the most current setup.