gremlin: auto-fix swarm/forgejo.yaml (7 issues fixed)
- 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:
parent
04e3a6182a
commit
ff5635f7e5
1 changed files with 11 additions and 2 deletions
|
|
@ -28,12 +28,20 @@ services:
|
||||||
mode: ingress
|
mode: ingress
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: any
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
|
window: 120s
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
|
- node.platform.arch != arm
|
||||||
|
- node.platform.arch != aarch64
|
||||||
- node.hostname == znas
|
- node.hostname == znas
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
|
|
||||||
|
gremlin.version: "2026-04-1"
|
||||||
gremlin.uid.exempt: "true"
|
gremlin.uid.exempt: "true"
|
||||||
gremlin.uid.reason: "Forgejo uses different env variables to set uid"
|
gremlin.uid.reason: "Forgejo uses different env variables to set uid"
|
||||||
gremlin.authentik.skip: "true"
|
gremlin.authentik.skip: "true"
|
||||||
|
|
@ -43,15 +51,16 @@ services:
|
||||||
homepage.icon: "forgejo.png"
|
homepage.icon: "forgejo.png"
|
||||||
homepage.href: "https://git.netgrimoire.com"
|
homepage.href: "https://git.netgrimoire.com"
|
||||||
homepage.description: "Git Repository"
|
homepage.description: "Git Repository"
|
||||||
|
monitor.name: Forgejo
|
||||||
|
monitor.url: https://"git.netgrimoire.com"
|
||||||
|
|
||||||
# Kuma
|
# Kuma
|
||||||
kuma.git.http.name: "Forgejo"
|
|
||||||
kuma.git.http.url: "http://forgejo:3000"
|
|
||||||
|
|
||||||
# Caddy
|
# Caddy
|
||||||
caddy: "git.netgrimoire.com"
|
caddy: "git.netgrimoire.com"
|
||||||
# caddy.import: "authentik"
|
# caddy.import: "authentik"
|
||||||
caddy.reverse_proxy: "forgejo:3000"
|
caddy.reverse_proxy: "forgejo:3000"
|
||||||
|
caddy.import_1: crowdsec
|
||||||
|
|
||||||
# Diun (image update monitoring)
|
# Diun (image update monitoring)
|
||||||
diun.enable: "true"
|
diun.enable: "true"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue