nextcloud/docker

Replication Mariadb

JulEsir opened this issue · 1 comments

Hi,

Currently it's possible to configure Mariadb externalDatabase with environment variable. However it's only possible to set one host mariadb. Since Nextcloud 29, nextcloud allows replication on mariadb : https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/replication.html
Do you know if in the future we will be able to configure mariadb replication with environment variables also?

Thanks

You can run any occ command you desire via the Auto configuration via hooks supported:

https://github.com/nextcloud/docker#auto-configuration-via-hook-folders

All config.php configuration parameters in Nextcloud can be set via occ config:system:set:

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#config-commands