mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-26 23:57:35 +08:00
Update .gitpod.yml
This commit is contained in:
parent
3921056c57
commit
9af3db8a9f
18
.gitpod.yml
18
.gitpod.yml
@ -1,21 +1,27 @@
|
|||||||
|
# https://github.com/gitpod-samples/template-dotnet-core-cli-csharp
|
||||||
|
# https://www.gitpod.io/docs/introduction/languages/dotnet
|
||||||
|
# https://github.com/gitpod-samples/template-docker-compose
|
||||||
|
# https://www.gitpod.io/docs/references/gitpod-yml
|
||||||
|
# https://www.gitpod.io/docs/configure
|
||||||
|
# https://www.gitpod.io/docs/configure/workspaces/ports
|
||||||
|
|
||||||
image:
|
image:
|
||||||
file: .gitpod.Dockerfile
|
file: .gitpod.Dockerfile
|
||||||
|
|
||||||
|
# https://www.gitpod.io/docs/configure/workspaces/tasks#execution-order
|
||||||
|
# https://www.gitpod.io/docs/configure/projects/prebuilds
|
||||||
tasks:
|
tasks:
|
||||||
- name: Start containers
|
- name: Init Docker-Compose
|
||||||
init: |
|
init: |
|
||||||
docker-compose pull
|
docker-compose pull
|
||||||
- command: |
|
docker-compose -f ./deployments/docker-compose/docker-compose.infrastructure.yaml up -d
|
||||||
docker-compose -f ./deployments/docker-compose/infrastracture.yaml up -d
|
|
||||||
- name: Restore & Build
|
- name: Restore & Build
|
||||||
init: |
|
init: |
|
||||||
dotnet dev-certs https
|
dotnet dev-certs https
|
||||||
dotnet restore
|
dotnet restore
|
||||||
dotnet build
|
dotnet build
|
||||||
- name: Run
|
|
||||||
command: dotnet run
|
|
||||||
|
|
||||||
vscode:
|
vscode:
|
||||||
extensions:
|
extensions:
|
||||||
- muhammad-sammy.csharp
|
|
||||||
- ms-azuretools.vscode-docker
|
- ms-azuretools.vscode-docker
|
||||||
|
- muhammad-sammy.csharp
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user