mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +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:
parent
992e3a74d6
commit
7d0bba3a29
@ -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 = @{
|
||||
|
Loading…
Reference in New Issue
Block a user