Simplify my.cnf template and use service name from docker case.