From 6408a59ae90716c9d10df9c8d84e2350b109b08a Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Tue, 12 Oct 2021 13:33:23 -0400 Subject: [PATCH] fix: changed images to only to restart on failure (#44) Co-authored-by: Nolan Arnold --- compose/base/base.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose/base/base.yml b/compose/base/base.yml index 957d2d8..f58c8dc 100644 --- a/compose/base/base.yml +++ b/compose/base/base.yml @@ -13,7 +13,7 @@ services: - NGINX_PORT=8000 - NGINX_TLS_PORT=8443 magento2: - restart: always + restart: on-failure networks: - frontend - backend @@ -22,7 +22,7 @@ services: database: volumes: - db_data:/var/lib/mysql - restart: always + restart: on-failure environment: MYSQL_ROOT_PASSWORD: magento2 MYSQL_DATABASE: magento2