mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-16 07:26:25 +08:00
29 lines
850 B
YAML
29 lines
850 B
YAML
# 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:
|
|
file: .gitpod.Dockerfile
|
|
|
|
tasks:
|
|
- name: Init Docker-Compose
|
|
# https://www.gitpod.io/docs/configure/projects/prebuilds
|
|
# We load docker on pre-build for increasing speed
|
|
init: |
|
|
docker-compose pull
|
|
docker-compose -f ./deployments/docker-compose/infrastracture.yaml up -d
|
|
- name: Restore & Build
|
|
init: |
|
|
dotnet dev-certs https
|
|
dotnet restore
|
|
dotnet build
|
|
- name: Run
|
|
command: dotnet run
|
|
|
|
vscode:
|
|
extensions:
|
|
- muhammad-sammy.csharp
|