docker-container-resources/README.md

17 lines
712 B
Markdown
Raw Normal View History

2021-11-10 16:22:32 +07:00
# Docker Container Resources
2021-11-10 16:06:55 +07:00
2021-11-10 16:22:32 +07:00
| App | cpus (min - max) | memory (min - max) |
| -------------------- | ---------------- | ------------------ |
2021-11-10 16:24:51 +07:00
| React + Nginx | .1 - .2 | 5m - 50m |
2021-11-10 16:22:32 +07:00
| React + Nextjs | .2 - .4 | 50m - 90m |
| Nestjs | .2 - .4 | 50m - 80m |
| Spring Boot (Basic) | .2 - .5 | 250m - 500m |
| Spring Boot (Normal) | .3 - .6 | 800m - 1200m |
| Spring Boot (High) | .5 - .8 | 1000m - 3000m |
| Spring Boot (Adv) | .9 - 1 | 1500m - 4000m |
2021-11-10 16:24:51 +07:00
#### Run Container
```shell
docker run --cpus=".1" --memory="5m" -p 80:80 myreactapp:latest
```