forked from Azure-Samples/contoso-real-estate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure.yaml
53 lines (46 loc) · 1.12 KB
/
azure.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: contoso-real-estate
metadata:
template: [email protected]
hooks:
postprovision:
shell: 'sh'
continueOnError: false
interactive: true
# TODO: provide a cross platform way to run this script
run: ./scripts/database/restore.sh strapi_20230202
services:
portal:
project: packages/portal
dist: dist/contoso-app
language: ts
host: staticwebapp
module: app/portal
hooks:
postpackage:
shell: sh
interactive: true
# Note: the current working directory is ./packages/portal
run: ../../infra/hooks/portal/predeploy.js
api:
project: packages/api
language: ts
host: function
module: app/api
cms:
project: packages/blog-cms
host: containerapp
language: js
module: app/cms
blog:
project: packages/blog
host: containerapp
language: js
module: app/blog
stripe:
project: packages/stripe
host: containerapp
language: js
docker:
context: ../..
module: app/stripe