From 95b56c7e5b32543a815732756a723c3db55b077e Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Wed, 6 Jul 2022 15:39:37 +0200
Subject: [PATCH] On live hosts, always mount files/db into PHP container for
 MySQL dumps

---
 templates/docker-compose.yml.twig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/templates/docker-compose.yml.twig b/templates/docker-compose.yml.twig
index 9295a2b..76953e1 100644
--- a/templates/docker-compose.yml.twig
+++ b/templates/docker-compose.yml.twig
@@ -90,10 +90,8 @@ services:
       - {{ projectroot }}/drush:/etc/drush
 {% if drupal.live|default(0) %}
       - {{ projectrootfiles }}:/data/default
-{% if crontabs.enable_mysql_backup|default(0) %}
       - {{ projectrootfiles }}/db:/var/backups/mysql
 {% endif %}
-{% endif %}
 {% if php.ssh and not drupal.live|default(0) %}
       - {{ php.ssh_auth_sock }}:/ssh-agent
 {% endif %}
-- 
GitLab