Skip to content

Commit d578217

Browse files
provider161Chris Lee-Messer
authored andcommitted
AWS deployment guide updated cvat-ai#1009 (cvat-ai#1031)
1 parent fdccad8 commit d578217

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

cvat/apps/documentation/AWS-Deployment-Guide.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,27 @@ Overall setup instruction is explained in [main readme file](https://github.com/
66

77
2. **On Any other AWS Machine:** We can follow the same instruction guide mentioned in the [Readme file](https://github.com/opencv/cvat/). The additional step is to add a [security group and rule to allow incoming connections](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html).
88

9-
For any of above, don't forget to add exposed AWS public IP address to `docker-compose.override.yml`.
9+
For any of above, don't forget to add exposed AWS public IP address and port to `docker-compose.override.yml`:
10+
11+
You need at least 2 opened ports on your Amazon instance, for UI and Django apps.
12+
13+
```
14+
version: "2.3"
15+
16+
services:
17+
cvat:
18+
environment:
19+
UI_HOST: *your Amazon AWS instance's url or IP*
20+
UI_PORT: *port for UI app*
21+
ports:
22+
- "REACT_APP_API_PORT specified below:8080"
23+
24+
25+
cvat_ui:
26+
build:
27+
args:
28+
REACT_APP_API_HOST: *your Amazon AWS instance's url or IP*
29+
REACT_APP_API_PORT: *port for Django app*
30+
ports:
31+
- "UI_PORT specified above":80"
32+
```

0 commit comments

Comments
 (0)