From 99e9dd41a4202138bad5dc9a72948eedb71604c6 Mon Sep 17 00:00:00 2001 From: traveler Date: Thu, 30 Apr 2026 13:49:02 -0500 Subject: [PATCH] gremlin: auto-fix swarm/lldap.yaml (14 issues fixed) - Removed version: key - Removed depends_on from "lldap" - Fixed PUID to 1964 for "lldap-db" - Fixed PGID to 1964 for "lldap-db" - Fixed PUID to 1964 for "lldap" - Fixed PGID to 1964 for "lldap" - Added default restart_policy for "lldap-db" - Added aarch64 exclusion for "lldap-db" - Added arm exclusion for "lldap-db" - Added default restart_policy for "lldap" - Added aarch64 exclusion for "lldap" - Added arm exclusion for "lldap" - Stamped gremlin.version: 2026-04-1 - Added diun.enable: "true" to "lldap" --- swarm/lldap.yaml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/swarm/lldap.yaml b/swarm/lldap.yaml index 1c439f6..9eeb133 100644 --- a/swarm/lldap.yaml +++ b/swarm/lldap.yaml @@ -1,4 +1,3 @@ -version: "3.9" networks: netgrimoire: @@ -12,18 +11,26 @@ services: #user: "1001:998" environment: TZ: America/Chicago - PUID: 1001 - PGID: 998 + PUID: "1964" + PGID: "1964" POSTGRES_DB: lldap POSTGRES_USER: lldap POSTGRES_PASSWORD: F@lcon13 volumes: - /DockerVol/lldap-db/data:/var/lib/postgresql/data deploy: + restart_policy: + condition: any + delay: 5s + max_attempts: 3 + window: 120s placement: constraints: + - node.platform.arch != arm + - node.platform.arch != aarch64 - node.hostname == docker4 labels: + gremlin.version: "2026-04-1" diun.enable: true gremlin.caddy.skip: "true" gremlin.homepage.skip: "true" @@ -38,8 +45,8 @@ services: #user: "1001:998" environment: TZ: America/Chicago - PUID: 1001 - PGID: 998 + PUID: "1964" + PGID: "1964" # Base DN - LLDAP_LDAP_BASE_DN=dc=netgrimoire,dc=com @@ -75,10 +82,18 @@ services: # mode: ingress deploy: + restart_policy: + condition: any + delay: 5s + max_attempts: 3 + window: 120s placement: constraints: + - node.platform.arch != arm + - node.platform.arch != aarch64 - node.hostname == docker4 labels: + diun.enable: "true" # Homepage - homepage.group=Authentication - homepage.name=LLDAP @@ -98,6 +113,5 @@ services: # Diun - diun.enable=true - depends_on: - lldap-db restart: unless-stopped