Skip to content

Commit 0a88d54

Browse files
committed
updating instructions
1 parent 0f8bc09 commit 0a88d54

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

articles/ai-services/containers/docker-compose-recipe.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The YAML file defines all the Azure AI services containers to be deployed. These
4141
version: '3.7'
4242
services:
4343
forms:
44-
image: "mcr.microsoft.com/azure-cognitive-services/form-recognizer/layout"
44+
image: "mcr.microsoft.com/azure-cognitive-services/form-recognizer/layout-3.1:latest"
4545
environment:
4646
eula: accept
4747
billing: # < Your Document Intelligence billing URL >
@@ -50,16 +50,16 @@ services:
5050
FormRecognizer__ComputerVisionEndpointUri: # < Your Document Intelligence URI >
5151
volumes:
5252
- type: bind
53-
source: E:\publicpreview\output
53+
source: C:\mydirectory\output
5454
target: /output
5555
- type: bind
56-
source: E:\publicpreview\input
56+
source: C:\mydirectory\input
5757
target: /input
5858
ports:
5959
- "5010:5000"
6060

6161
ocr:
62-
image: "mcr.microsoft.com/azure-cognitive-services/vision/read:3.1-preview"
62+
image: "mcr.microsoft.com/azure-cognitive-services/vision/read:latest"
6363
environment:
6464
eula: accept
6565
apikey: # < Your Azure AI Vision API key >
@@ -155,15 +155,15 @@ Here's some example outputs:
155155

156156
```
157157
IMAGE ID REPOSITORY TAG
158-
2ce533f88e80 mcr.microsoft.com/azure-cognitive-services/form-recognizer/layout latest
158+
2ce533f88e80 mcr.microsoft.com/azure-cognitive-services/form-recognizer/layout-3.1 latest
159159
4be104c126c5 mcr.microsoft.com/azure-cognitive-services/vision/read:3.1-preview latest
160160
```
161161

162162
### Test containers
163163

164-
Open a browser on the host machine and go to **localhost** by using the specified port from the *docker-compose.yaml* file, such as http://localhost:5021/swagger/index.html. For example, you could use the **Try It** feature in the API to test the Document Intelligence endpoint. Both containers swagger pages should be available and testable.
164+
Open a browser on the host machine and go to **localhost** by using the specified port from the *docker-compose.yaml* file, such as `http://localhost:5021`. Both containers landing pages should be available.
165165

166-
![Document Intelligence Container](media/form-recognizer-swagger-page.png)
166+
:::image type="content" source="../media/container-webpage.png" alt-text="A screenshot of the container landing page.":::
167167

168168
## Next steps
169169

Binary file not shown.

0 commit comments

Comments
 (0)