1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-24 12:35:25 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = @{