From 550e62099fd750ee52a69a50f31b5719c0f0df07 Mon Sep 17 00:00:00 2001 From: David Alger Date: Wed, 3 Jul 2019 17:03:27 -0500 Subject: [PATCH] Added max_allowed_packet=1024M to db containers for M1 and M2 to avoid imports or upgrade routines from failing on large packets --- environments/magento1.base.yml | 3 +++ environments/magento2.base.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/environments/magento1.base.yml b/environments/magento1.base.yml index 4234d819..82665863 100644 --- a/environments/magento1.base.yml +++ b/environments/magento1.base.yml @@ -46,6 +46,9 @@ services: - MYSQL_DATABASE=${MYSQL_DATABASE:-magento} - MYSQL_USER=${MYSQL_USER:-magento} - MYSQL_PASSWORD=${MYSQL_PASSWORD:-magento} + command: + - mysqld + - --max_allowed_packet=1024M volumes: - dbdata:/var/lib/mysql networks: diff --git a/environments/magento2.base.yml b/environments/magento2.base.yml index c4a79647..9a31d8e1 100644 --- a/environments/magento2.base.yml +++ b/environments/magento2.base.yml @@ -41,6 +41,9 @@ services: - MYSQL_DATABASE=${MYSQL_DATABASE:-magento} - MYSQL_USER=${MYSQL_USER:-magento} - MYSQL_PASSWORD=${MYSQL_PASSWORD:-magento} + command: + - mysqld + - --max_allowed_packet=1024M volumes: - dbdata:/var/lib/mysql networks: