From b181bec7535b20a493b7f228a34f0283982ea5a9 Mon Sep 17 00:00:00 2001 From: Eduardo Lundgren Date: Fri, 8 Dec 2017 15:40:43 -0800 Subject: [PATCH] Adds dependencies and zeroDowntime --- db/wedeploy.json | 3 ++- dbadmin/wedeploy.json | 3 ++- wp/wedeploy.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/db/wedeploy.json b/db/wedeploy.json index bede649..ba76865 100644 --- a/db/wedeploy.json +++ b/db/wedeploy.json @@ -4,5 +4,6 @@ "volume": "/var/lib/mysql", "env": { "MYSQL_ROOT_PASSWORD": "passw0rd" - } + }, + "zeroDowntime": true } diff --git a/dbadmin/wedeploy.json b/dbadmin/wedeploy.json index eb54356..70e2c53 100644 --- a/dbadmin/wedeploy.json +++ b/dbadmin/wedeploy.json @@ -3,5 +3,6 @@ "image": "phpmyadmin/phpmyadmin", "env": { "PMA_HOST": "db" - } + }, + "dependencies": ["db"] } diff --git a/wp/wedeploy.json b/wp/wedeploy.json index e1fc7fb..6f8a71e 100644 --- a/wp/wedeploy.json +++ b/wp/wedeploy.json @@ -5,5 +5,6 @@ "WORDPRESS_DB_USER": "root", "WORDPRESS_DB_PASSWORD": "passw0rd", "WORDPRESS_DB_NAME": "wordpress" - } + }, + "dependencies": ["db"] }