1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

Improve EF Migration Workflow by Starting Required Docker Services Automatically (#2725)

* Added check to detremine if certain docker services are running and if not starts them

* used to docker no recreate flag to simplify the process
This commit is contained in:
SmithThe4th
2023-02-23 12:01:01 -05:00
committed by GitHub
parent 992e3a74d6
commit 7d0bba3a29

View File

@ -4,6 +4,13 @@ param (
$Name
)
# DB service provider name
$service = "mysql"
Write-Output "--- Attempting to start $service service ---"
docker-compose --profile $service up -d --no-recreate
dotnet tool restore
$providers = @{