From e37992dd9ec1d2edd2d53641fc11e6cdae3c3f2e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 3 Jan 2025 14:39:16 +0100 Subject: [PATCH] ff --- docker-compose/registry/docker-compose.yml.j2 | 10 ++++++++++ .../unifi-network-application/docker-compose.yml.j2 | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/docker-compose/registry/docker-compose.yml.j2 b/docker-compose/registry/docker-compose.yml.j2 index 19909b3f..92a4d167 100644 --- a/docker-compose/registry/docker-compose.yml.j2 +++ b/docker-compose/registry/docker-compose.yml.j2 @@ -61,6 +61,11 @@ services: - internal restart: unless-stopped pull_policy: missing + deploy: + resources: + limits: + cpus: "2" + memory: "512M" security_opt: - no-new-privileges=true environment: @@ -75,6 +80,11 @@ services: oci-registry-ui: restart: unless-stopped pull_policy: missing + deploy: + resources: + limits: + cpus: "2" + memory: "512M" security_opt: - no-new-privileges=true image: "joxit/docker-registry-ui:2.5.7" diff --git a/docker-compose/unifi-network-application/docker-compose.yml.j2 b/docker-compose/unifi-network-application/docker-compose.yml.j2 index 731bd0e3..2a9eb4aa 100644 --- a/docker-compose/unifi-network-application/docker-compose.yml.j2 +++ b/docker-compose/unifi-network-application/docker-compose.yml.j2 @@ -58,6 +58,11 @@ services: - db-data:/data/db restart: unless-stopped pull_policy: missing + deploy: + resources: + limits: + cpus: "2" + memory: "512M" security_opt: - no-new-privileges=true environment: