Skip to content

Commit

Permalink
AWS deployment guide updated #1009 (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
provider161 authored and nmanovic committed Jan 9, 2020
1 parent 3908cb6 commit 563af24
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion cvat/apps/documentation/AWS-Deployment-Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,27 @@ Overall setup instruction is explained in [main readme file](https://github.com/

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).

For any of above, don't forget to add exposed AWS public IP address to `docker-compose.override.yml`.
For any of above, don't forget to add exposed AWS public IP address and port to `docker-compose.override.yml`:

You need at least 2 opened ports on your Amazon instance, for UI and Django apps.

```
version: "2.3"
services:
cvat:
environment:
UI_HOST: *your Amazon AWS instance's url or IP*
UI_PORT: *port for UI app*
ports:
- "REACT_APP_API_PORT specified below:8080"
cvat_ui:
build:
args:
REACT_APP_API_HOST: *your Amazon AWS instance's url or IP*
REACT_APP_API_PORT: *port for Django app*
ports:
- "UI_PORT specified above":80"
```

0 comments on commit 563af24

Please sign in to comment.