Replication Mariadb
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
Great, I have a problem when i do this i play command like this : occ config:system:set dbreplica 0 user --value 'myuser' occ config:system:set dbreplica 0 password --value 'mypassword' But i have to do all this in only one command, do you know how to do that ?