-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathazure.yaml
More file actions
77 lines (68 loc) · 1.71 KB
/
azure.yaml
File metadata and controls
77 lines (68 loc) · 1.71 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# ContentFlow Azure Deployment Configuration
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: contentflow
metadata:
template: contentflow@0.0.1-beta
# Infrastructure configuration
infra:
provider: bicep
path: infra/bicep
module: main
# Service definitions
services:
# ContentFlow API - Container App
api:
project: ./contentflow-api
language: python
host: containerapp
docker:
path: ./Dockerfile
context: ..
target: ""
remoteBuild: true
# ContentFlow Worker - Container App
worker:
project: ./contentflow-worker
language: python
host: containerapp
docker:
path: ./Dockerfile
context: ..
target: ""
remoteBuild: true
# ContentFlow Web - Container App
web:
project: ./contentflow-web
language: ts
host: containerapp
docker:
path: ./Dockerfile
context: ..
target: ""
remoteBuild: true
# Global hooks
# hooks:
# # Run before provisioning infrastructure
# preprovision:
# shell: sh
# run: ./infra/scripts/pre-provision.sh
# interactive: false
# continueOnError: false
# # Run after infrastructure is provisioned
# # postprovision:
# # shell: sh
# # run: ./infra/scripts/post-provision.sh
# # interactive: false
# # continueOnError: false
# # # Run before deploying all services
# # predeploy:
# # shell: sh
# # run: ./infra/scripts/pre-deploy.sh
# # interactive: false
# # continueOnError: false
# # Run after all services are deployed
# postdeploy:
# shell: sh
# run: ./infra/scripts/post-deploy.sh
# interactive: true
# continueOnError: false