Skip to content

Commit aed17d1

Browse files
fix: Improve Deployment Process with Documentation and Hosting Plan Updates
fix: Improve Deployment Process with Documentation and Hosting Plan Updates
2 parents 4c92ba7 + 0deccc5 commit aed17d1

4 files changed

Lines changed: 34 additions & 27 deletions

File tree

docs/quota_check.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Before deploying the accelerator, **ensure sufficient quota availability** for the required model.
44

5+
### Login if you have not done so already
6+
```
7+
azd auth login
8+
```
9+
510
### 📌 Default Models & Capacities:
611
```
712
gpt-4o:30, gpt-4o-mini:30, gpt-4:30, text-embedding-ada-002:80

infra/deploy_app_service.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ param HostingPlanName string = '${ solutionName }-app-service-plan'
2020
)
2121
// param HostingPlanSku string = 'B1'
2222

23-
param HostingPlanSku string = 'P0v3'
23+
param HostingPlanSku string = 'B2'
2424

2525
@description('Name of Web App')
2626
param WebsiteName string = '${ solutionName }-app-service'

infra/main.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"metadata": {
55
"_generator": {
66
"name": "bicep",
7-
"version": "0.33.93.31351",
8-
"templateHash": "13599865329986757489"
7+
"version": "0.34.44.8038",
8+
"templateHash": "9207690475359141802"
99
}
1010
},
1111
"parameters": {
@@ -128,8 +128,8 @@
128128
"metadata": {
129129
"_generator": {
130130
"name": "bicep",
131-
"version": "0.33.93.31351",
132-
"templateHash": "8800226751863900201"
131+
"version": "0.34.44.8038",
132+
"templateHash": "2718062317870371098"
133133
}
134134
},
135135
"parameters": {
@@ -259,8 +259,8 @@
259259
"metadata": {
260260
"_generator": {
261261
"name": "bicep",
262-
"version": "0.33.93.31351",
263-
"templateHash": "4317523167912536944"
262+
"version": "0.34.44.8038",
263+
"templateHash": "11024517080548002305"
264264
}
265265
},
266266
"parameters": {
@@ -402,8 +402,8 @@
402402
"metadata": {
403403
"_generator": {
404404
"name": "bicep",
405-
"version": "0.33.93.31351",
406-
"templateHash": "319562905704482740"
405+
"version": "0.34.44.8038",
406+
"templateHash": "7463011266889657341"
407407
}
408408
},
409409
"parameters": {
@@ -1093,8 +1093,8 @@
10931093
"metadata": {
10941094
"_generator": {
10951095
"name": "bicep",
1096-
"version": "0.33.93.31351",
1097-
"templateHash": "14620142974675285735"
1096+
"version": "0.34.44.8038",
1097+
"templateHash": "17679659647877785824"
10981098
}
10991099
},
11001100
"parameters": {
@@ -1277,8 +1277,8 @@
12771277
"metadata": {
12781278
"_generator": {
12791279
"name": "bicep",
1280-
"version": "0.33.93.31351",
1281-
"templateHash": "12347068855899407617"
1280+
"version": "0.34.44.8038",
1281+
"templateHash": "573049773979289587"
12821282
}
12831283
},
12841284
"parameters": {
@@ -1489,8 +1489,8 @@
14891489
"metadata": {
14901490
"_generator": {
14911491
"name": "bicep",
1492-
"version": "0.33.93.31351",
1493-
"templateHash": "16605082293199555822"
1492+
"version": "0.34.44.8038",
1493+
"templateHash": "12523803244328608887"
14941494
}
14951495
},
14961496
"parameters": {
@@ -1712,8 +1712,8 @@
17121712
"metadata": {
17131713
"_generator": {
17141714
"name": "bicep",
1715-
"version": "0.33.93.31351",
1716-
"templateHash": "7497154856203442649"
1715+
"version": "0.34.44.8038",
1716+
"templateHash": "12449758432080186673"
17171717
}
17181718
},
17191719
"parameters": {
@@ -1924,8 +1924,8 @@
19241924
"metadata": {
19251925
"_generator": {
19261926
"name": "bicep",
1927-
"version": "0.33.93.31351",
1928-
"templateHash": "6738503368906728468"
1927+
"version": "0.34.44.8038",
1928+
"templateHash": "17199249570586107558"
19291929
}
19301930
},
19311931
"parameters": {
@@ -2156,8 +2156,8 @@
21562156
"metadata": {
21572157
"_generator": {
21582158
"name": "bicep",
2159-
"version": "0.33.93.31351",
2160-
"templateHash": "13542795043218377011"
2159+
"version": "0.34.44.8038",
2160+
"templateHash": "8392442477995673035"
21612161
}
21622162
},
21632163
"parameters": {
@@ -2398,8 +2398,8 @@
23982398
"metadata": {
23992399
"_generator": {
24002400
"name": "bicep",
2401-
"version": "0.33.93.31351",
2402-
"templateHash": "18414416216987649125"
2401+
"version": "0.34.44.8038",
2402+
"templateHash": "10339009027263620768"
24032403
}
24042404
},
24052405
"parameters": {
@@ -2513,8 +2513,8 @@
25132513
"metadata": {
25142514
"_generator": {
25152515
"name": "bicep",
2516-
"version": "0.33.93.31351",
2517-
"templateHash": "5835426116727035307"
2516+
"version": "0.34.44.8038",
2517+
"templateHash": "2689043508944421407"
25182518
}
25192519
},
25202520
"parameters": {
@@ -2535,7 +2535,7 @@
25352535
},
25362536
"HostingPlanSku": {
25372537
"type": "string",
2538-
"defaultValue": "P0v3",
2538+
"defaultValue": "B2",
25392539
"allowedValues": [
25402540
"F1",
25412541
"D1",

src/App/WebApp.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ RUN apk add --no-cache --virtual .build-deps \
2727
libpq
2828

2929
COPY requirements.txt /usr/src/app/
30-
RUN pip install --no-cache-dir -r /usr/src/app/requirements.txt \
30+
31+
RUN pip install --upgrade pip setuptools wheel \
32+
&& pip install --no-cache-dir -r /usr/src/app/requirements.txt \
3133
&& rm -rf /root/.cache
3234

3335
# Copy backend source code

0 commit comments

Comments
 (0)