Skip to content

Commit 9cb70ec

Browse files
authored
Merge pull request #202884 from jrathor/patch-1
[Formrecognizer]Fix configs for V2 containers
2 parents f02ee96 + fafed94 commit 9cb70ec

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

articles/applied-ai-services/form-recognizer/containers/form-recognizer-container-install-run.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ azure-cognitive-service-layout:
138138
environment:
139139
- EULA=accept
140140
- billing={FORM_RECOGNIZER_ENDPOINT_URI}
141-
- key={FORM_RECOGNIZER_KEY}
141+
- apiKey={FORM_RECOGNIZER_KEY}
142142
ports:
143143
- "5000"
144144
networks:
@@ -167,19 +167,19 @@ services:
167167
environment:
168168
- EULA=accept
169169
- billing={FORM_RECOGNIZER_ENDPOINT_URI}
170-
- key={FORM_RECOGNIZER_KEY}
170+
- apiKey={FORM_RECOGNIZER_KEY}
171171
- AzureCognitiveServiceReadHost=http://azure-cognitive-service-read:5000
172172
ports:
173173
- "5000:5050"
174174
networks:
175175
- ocrvnet
176176
azure-cognitive-service-read:
177177
container_name: azure-cognitive-service-read
178-
image: mcr.microsoft.com/azure-cognitive-services/vision/read:3.2
178+
image: mcr.microsoft.com/azure-cognitive-services/vision/read:3.2-model-2021-04-12
179179
environment:
180180
- EULA=accept
181181
- billing={COMPUTER_VISION_ENDPOINT_URI}
182-
- key={COMPUTER_VISION_KEY}
182+
- apiKey={COMPUTER_VISION_KEY}
183183
networks:
184184
- ocrvnet
185185

@@ -207,19 +207,19 @@ services:
207207
environment:
208208
- EULA=accept
209209
- billing={FORM_RECOGNIZER_ENDPOINT_URI}
210-
- key={FORM_RECOGNIZER_KEY}
210+
- apiKey={FORM_RECOGNIZER_KEY}
211211
- AzureCognitiveServiceReadHost=http://azure-cognitive-service-read:5000
212212
ports:
213213
- "5000:5050"
214214
networks:
215215
- ocrvnet
216216
azure-cognitive-service-read:
217217
container_name: azure-cognitive-service-read
218-
image: mcr.microsoft.com/azure-cognitive-services/vision/read:3.2
218+
image: mcr.microsoft.com/azure-cognitive-services/vision/read:3.2-model-2021-04-12
219219
environment:
220220
- EULA=accept
221221
- billing={COMPUTER_VISION_ENDPOINT_URI}
222-
- key={COMPUTER_VISION_KEY}
222+
- apiKey={COMPUTER_VISION_KEY}
223223
networks:
224224
- ocrvnet
225225

@@ -247,7 +247,7 @@ services:
247247
environment:
248248
- EULA=accept
249249
- billing={FORM_RECOGNIZER_ENDPOINT_URI}
250-
- key={FORM_RECOGNIZER_KEY}
250+
- apiKey={FORM_RECOGNIZER_KEY}
251251
- AzureCognitiveServiceLayoutHost=http://azure-cognitive-service-layout:5000
252252
ports:
253253
- "5000:5050"
@@ -260,7 +260,7 @@ services:
260260
environment:
261261
- EULA=accept
262262
- billing={FORM_RECOGNIZER_ENDPOINT_URI}
263-
- key={FORM_RECOGNIZER_KEY}
263+
- apiKey={FORM_RECOGNIZER_KEY}
264264
networks:
265265
- ocrvnet
266266

@@ -288,19 +288,19 @@ services:
288288
environment:
289289
- EULA=accept
290290
- billing={FORM_RECOGNIZER_ENDPOINT_URI}
291-
- key={FORM_RECOGNIZER_KEY}
291+
- apiKey={FORM_RECOGNIZER_KEY}
292292
- AzureCognitiveServiceReadHost=http://azure-cognitive-service-read:5000
293293
ports:
294294
- "5000:5050"
295295
networks:
296296
- ocrvnet
297297
azure-cognitive-service-read:
298298
container_name: azure-cognitive-service-read
299-
image: mcr.microsoft.com/azure-cognitive-services/vision/read:3.2
299+
image: mcr.microsoft.com/azure-cognitive-services/vision/read:3.2-model-2021-04-12
300300
environment:
301301
- EULA=accept
302-
- billing={COMPUTER_VISION_ENDPOINT_URI}
303-
- key={COMPUTER_VISION_KEY}
302+
- billing={COMPUTER_VISION_ENDPOINT_URI}
303+
- apiKey={COMPUTER_VISION_KEY}
304304
networks:
305305
- ocrvnet
306306

0 commit comments

Comments
 (0)