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