From a48a0d8f9237fd97184522b877fe366127573253 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 3 Jan 2024 18:06:34 +0100 Subject: [PATCH] Removed socket bones --- roles/docker-mariadb/tasks/main.yml | 1 - templates/docker-compose-volumes-just-database.yml.j2 | 3 --- 2 files changed, 4 deletions(-) diff --git a/roles/docker-mariadb/tasks/main.yml b/roles/docker-mariadb/tasks/main.yml index be91377b..702f1aa3 100644 --- a/roles/docker-mariadb/tasks/main.yml +++ b/roles/docker-mariadb/tasks/main.yml @@ -21,7 +21,6 @@ - name: central_mariadb_network volumes: - central_mariadb_database:/var/lib/mysql - - central_mariadb_socket:/var/run/mysqld published_ports: - "127.0.0.1:3306:3306" # can be that this will be removed if all applications use sockets command: "--transaction-isolation=READ-COMMITTED --binlog-format=ROW" #for nextcloud diff --git a/templates/docker-compose-volumes-just-database.yml.j2 b/templates/docker-compose-volumes-just-database.yml.j2 index b243fa25..0e80e052 100644 --- a/templates/docker-compose-volumes-just-database.yml.j2 +++ b/templates/docker-compose-volumes-just-database.yml.j2 @@ -1,8 +1,5 @@ # This needs to be included in docker-compose.yml which just contain a database volume -#volumes: {% if not enable_central_database | bool %} volumes: database: -#{% else %} -# mariadb_socket: {% endif %} \ No newline at end of file