Add run example for docker
This commit is contained in:
parent
5c7f429674
commit
fa4e198e22
@ -2,10 +2,16 @@
|
|||||||
|
|
||||||
| App | cpus (min - max) | memory (min - max) |
|
| App | cpus (min - max) | memory (min - max) |
|
||||||
| -------------------- | ---------------- | ------------------ |
|
| -------------------- | ---------------- | ------------------ |
|
||||||
| React + Nginx | .1 - .2 | 20m - 50m |
|
| React + Nginx | .1 - .2 | 5m - 50m |
|
||||||
| React + Nextjs | .2 - .4 | 50m - 90m |
|
| React + Nextjs | .2 - .4 | 50m - 90m |
|
||||||
| Nestjs | .2 - .4 | 50m - 80m |
|
| Nestjs | .2 - .4 | 50m - 80m |
|
||||||
| Spring Boot (Basic) | .2 - .5 | 250m - 500m |
|
| Spring Boot (Basic) | .2 - .5 | 250m - 500m |
|
||||||
| Spring Boot (Normal) | .3 - .6 | 800m - 1200m |
|
| Spring Boot (Normal) | .3 - .6 | 800m - 1200m |
|
||||||
| Spring Boot (High) | .5 - .8 | 1000m - 3000m |
|
| Spring Boot (High) | .5 - .8 | 1000m - 3000m |
|
||||||
| Spring Boot (Adv) | .9 - 1 | 1500m - 4000m |
|
| Spring Boot (Adv) | .9 - 1 | 1500m - 4000m |
|
||||||
|
|
||||||
|
|
||||||
|
#### Run Container
|
||||||
|
```shell
|
||||||
|
docker run --cpus=".1" --memory="5m" -p 80:80 myreactapp:latest
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user