From 8e58ff97e1d3d2d64069c37f000259db3ba98a69 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 23 Oct 2018 16:54:45 +0200 Subject: [PATCH] new: added a new ``pre_deploy`` hook for anything to do before launching docker-compose and after relations --- bin/compose | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/compose b/bin/compose index a6403c1..e1b4f53 100755 --- a/bin/compose +++ b/bin/compose @@ -2879,6 +2879,8 @@ if [ "$full_init" ]; then run_service_relations "${services[@]}" || exit 1 fi + run_service_hook pre_deploy "${services[@]}" || exit 1 + fi