gremlin: auto-fix swarm/forgejo.yaml (7 issues fixed)
Some checks are pending
Deploy on push / detect (push) Waiting to run
Deploy on push / deploy_swarm (push) Blocked by required conditions
Deploy on push / deploy_compose (push) Blocked by required conditions

- Added default restart_policy for "forgejo"
  - Added aarch64 exclusion for "forgejo"
  - Added arm exclusion for "forgejo"
  - Added caddy.import_1: crowdsec for "forgejo"
  - Added monitor label(s) for "forgejo" (url: https://"git.netgrimoire.com")
  - Removed 2 legacy kuma.* label(s) from "forgejo"
  - Stamped gremlin.version: 2026-04-1
This commit is contained in:
traveler 2026-05-01 14:15:03 -05:00
parent 04e3a6182a
commit ff5635f7e5

View file

@ -28,12 +28,20 @@ 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 == znas
labels:
gremlin.version: "2026-04-1"
gremlin.uid.exempt: "true"
gremlin.uid.reason: "Forgejo uses different env variables to set uid"
gremlin.authentik.skip: "true"
@ -43,15 +51,16 @@ services:
homepage.icon: "forgejo.png"
homepage.href: "https://git.netgrimoire.com"
homepage.description: "Git Repository"
monitor.name: Forgejo
monitor.url: https://"git.netgrimoire.com"
# Kuma
kuma.git.http.name: "Forgejo"
kuma.git.http.url: "http://forgejo:3000"
# Caddy
caddy: "git.netgrimoire.com"
# caddy.import: "authentik"
caddy.reverse_proxy: "forgejo:3000"
caddy.import_1: crowdsec
# Diun (image update monitoring)
diun.enable: "true"