Good point. If there are only a couple of configuration variables, yeah, it's easier to pass them as parameters in the yaml file. If there are more, I prefer to have them in a configuration file. Especially if more and more variables are needed later, which is usually the case, since MariaDB has literally hundreds of them.
I think, it is better to add into yaml command parametr --server-id=1 --log-bin, ss mariadb supports passing those parametrs directly into executable.
Good point. If there are only a couple of configuration variables, yeah, it's easier to pass them as parameters in the yaml file. If there are more, I prefer to have them in a configuration file. Especially if more and more variables are needed later, which is usually the case, since MariaDB has literally hundreds of them.