@@ -66,27 +66,27 @@ param externalTasksQueueName string
6666@description ('The name of the external blob container in Azure Storage.' )
6767param externalTasksContainerBlobName string
6868
69- @description ('The name of the secret containing the External Azure Storage Access key for the Backend Background Processor Service .' )
69+ @description ('The name of the secret containing the External Azure Storage Access key for the backend processor service .' )
7070param externalStorageKeySecretName string
7171
72- //Send grid
73- @description ('The name of the secret containing the SendGrid API key value for the Backend Background Processor Service .' )
74- param sendGridKeySecretName string
72+ //SendGrid
73+ @description ('The name of the secret containing the SendGrid API key value for the backend processor service .' )
74+ param sendGridKeySecretName string = 'sendgrid-api-key'
7575
76- @description ('The name of the Send Grid Email From.' )
76+ @description ('The name of the SendGrid Email From.' )
7777param sendGridEmailFrom string
7878
79- @description ('The name of the Send Grid Email From Name.' )
79+ @description ('The name of the SendGrid Email From Name.' )
8080param sendGridEmailFromName string
8181
82+ @secure ()
83+ @description ('The SendGrid API key for the backend processor service. If not provided, SendGrid integration will be disabled.' )
84+ param sendGridKeySecretValue string
85+
8286//Cron Shedule Jon
8387@description ('The cron settings for scheduled job.' )
8488param scheduledJobCron string
8589
86- @secure ()
87- @description ('The SendGrid API key for for Backend Background Processor Service.' )
88- param sendGridKeySecretValue string
89-
9090// Dapr components
9191@description ('The name of Dapr component for the secret store building block.' )
9292// We disable lint of this line as it is not a secret but the name of the Dapr component
@@ -109,6 +109,16 @@ param backendApiServiceImage string
109109@description ('The image for the frontend web app service.' )
110110param frontendWebAppServiceImage string
111111
112+ // App Ports
113+ @description ('The target and dapr port for the frontend web app service.' )
114+ param frontendWebAppPortNumber int = 80
115+
116+ @description ('The target and dapr port for the backend api service.' )
117+ param backendApiPortNumber int = 80
118+
119+ @description ('The dapr port for the backend processor service.' )
120+ param backendProcessorPortNumber int = 80
121+
112122// ------------------
113123// RESOURCES
114124// ------------------
@@ -217,6 +227,9 @@ module containerApps 'modules/container-apps.bicep' = {
217227 applicationInsightsName : containerAppsEnvironment .outputs .applicationInsightsName
218228 externalStorageAccountName : externalStorageAccount .outputs .storageAccountName
219229 externalStorageKeySecretName : externalStorageKeySecretName
230+ frontendWebAppPortNumber : frontendWebAppPortNumber
231+ backendApiPortNumber : backendApiPortNumber
232+ backendProcessorPortNumber : backendProcessorPortNumber
220233 }
221234 dependsOn : [
222235 daprComponents
0 commit comments