Resource limits

This commit is contained in:
Lauri Räsänen 2025-05-04 16:23:41 +03:00
parent ee0e3a7f01
commit adcf4c3ca5

View file

@ -14,6 +14,8 @@ mkdir -p "$XDG_RUNTIME_DIR/beszel_socket"
podman run -ti -d \
--name beszel \
--restart=unless-stopped \
--cpus=1.0 \
--memory=2g \
-v /srv/beszel:/beszel_data \
-v $XDG_RUNTIME_DIR/beszel_socket:/beszel_socket \
-p 8090:8090 \
@ -25,6 +27,8 @@ podman run -ti -d \
--name beszel-agent \
--userns=keep-id \
--network host \
--cpus=1.0 \
--memory=2g \
--restart unless-stopped \
-v $XDG_RUNTIME_DIR/podman/podman.sock:$XDG_RUNTIME_DIR/podman/podman.sock:ro \
-v $XDG_RUNTIME_DIR/beszel_socket:/beszel_socket \