Merge pull request #86 from shaunakg/patch-1
Include `-m` flag in `docker run` call to limit memory per container
This commit is contained in:
commit
6845be0ca1
|
@ -349,6 +349,7 @@ func (sv *supervisor) reload() error {
|
|||
"-p", fmt.Sprintf("127.0.0.1:%d:6119", port),
|
||||
"-e", "FATHOM_SITE_ID",
|
||||
"-e", "RIJU_DEPLOY_CONFIG",
|
||||
"-m", "200m",
|
||||
"--label", fmt.Sprintf("riju.deploy-config-hash=%s", deployCfgHash),
|
||||
"--name", name,
|
||||
"--restart", "unless-stopped",
|
||||
|
|
Loading…
Reference in New Issue