Limit Supervisor container to 100mb memory
This commit is contained in:
parent
f7e41126bb
commit
1f9f5dea97
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ runSupervisor() {
|
||||||
--privileged \
|
--privileged \
|
||||||
$APPARMOR \
|
$APPARMOR \
|
||||||
--security-opt seccomp=unconfined \
|
--security-opt seccomp=unconfined \
|
||||||
|
--memory=100m \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
-v /var/run/dbus:/var/run/dbus \
|
-v /var/run/dbus:/var/run/dbus \
|
||||||
-v "${HASSIO_DATA}":/data \
|
-v "${HASSIO_DATA}":/data \
|
||||||
|
|
Loading…
Reference in a new issue