From ac917b9811c92db0b748074f91e7d65e0e400001 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 2 Oct 2024 17:37:14 +0200 Subject: [PATCH] Use all adresses --- templates/mariadb/docker-compose_mariadb.yml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mariadb/docker-compose_mariadb.yml.erb b/templates/mariadb/docker-compose_mariadb.yml.erb index 1650563..6130e84 100644 --- a/templates/mariadb/docker-compose_mariadb.yml.erb +++ b/templates/mariadb/docker-compose_mariadb.yml.erb @@ -21,6 +21,6 @@ services: - MYSQL_ROOT_PASSWORD=<%= @mysql_root_password %> - BOOTSTRAP=<%= @bootstrap %> - FORCE_BOOTSTRAP=0 - command: "--wsrep_cluster_address=gcomm://<%= @db_ip[0] %>,<%= @db_ip[1] %>,<%= @db_ip[2] %>" + command: "--wsrep_cluster_address=gcomm://<%= @db_ip.join(',') %>" tty: true