riju/supervisor
Shaunak G 956624c10d
Include `-m` flag in `docker run` call to limit memory per container
As per Docker run documentation (https://docs.docker.com/config/containers/resource_constraints/#limit-a-containers-access-to-memory), the `-m` flag must be set in order for `--oom-kill-disable` to have the intended effect. Otherwise, an exhaustion of memory in the container will put pressure on the host's processes. This commit sets the max memory to 200MB assuming the t3.small instance has 2GB total.
2021-07-27 10:05:13 +10:00
..
src Include `-m` flag in `docker run` call to limit memory per container 2021-07-27 10:05:13 +10:00
compile.bash [#62] Cache Go dependencies 2021-07-17 08:47:08 +00:00
go.mod Awesome 2021-07-05 00:05:32 +00:00
go.sum Awesome 2021-07-05 00:05:32 +00:00