From ce160ed20ebc58366e4217e940b9efdecd4f2e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oscar=20David=20D=C3=ADaz?= Date: Mon, 18 Nov 2024 11:04:44 -0500 Subject: [PATCH] Tasks related to Docker were updated in the psake script - The dockerUp task was updated to use the local-docker-compose.yml file. - The dockerDown, dockerStart and dockerStop tasks were added. --- default.ps1 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/default.ps1 b/default.ps1 index f672884a2..39f56201d 100644 --- a/default.ps1 +++ b/default.ps1 @@ -68,7 +68,22 @@ task dockerPublish -depends dockerBuild { task dockerUp { $Env:TAG = GetDockerVersion - exec { docker-compose up } + exec { docker-compose -f local-docker-compose.yml up -d } +} + +task dockerDown { + echo "Deleting Docker containers" + exec { docker-compose -f local-docker-compose.yml down } +} + +task dockerStart { + echo "Starting Docker containers" + exec { docker-compose -f local-docker-compose.yml start } +} + +task dockerStop { + echo "Stopping Docker containers" + exec { docker-compose -f local-docker-compose.yml stop } } task buildInstaller {