From d3f33ca82c96d8cb0fbf04a4e26fd062ea5609a7 Mon Sep 17 00:00:00 2001 From: traveler Date: Thu, 30 Apr 2026 09:15:58 -0500 Subject: [PATCH] gremlin: auto-fix swarm/firefox.yaml (11 issues fixed) - Removed container_name from "firefox" - Removed restart from "firefox" - Added default restart_policy for "firefox" - Added aarch64 exclusion for "firefox" - Added arm exclusion for "firefox" - Replaced caddy.reverse_proxy with firefox:5900 for "firefox" - Added caddy.import_1: crowdsec for "firefox" - Added caddy.import_2: authentik for "firefox" - Added monitor label(s) for "firefox" (url: http://firefox:5900) - Removed 2 legacy kuma.* label(s) from "firefox" - Added diun.enable: "true" to "firefox" --- swarm/firefox.yaml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/swarm/firefox.yaml b/swarm/firefox.yaml index 4574874..4e61062 100644 --- a/swarm/firefox.yaml +++ b/swarm/firefox.yaml @@ -3,7 +3,6 @@ services: firefox: image: jlesage/firefox - container_name: firefox networks: - netgrimoire environment: @@ -16,8 +15,16 @@ services: - 5910:5900 - 5800:5800 shm_size: "1gb" - restart: unless-stopped deploy: + placement: + constraints: + - node.platform.arch != arm + - node.platform.arch != aarch64 + restart_policy: + condition: any + delay: 5s + max_attempts: 3 + window: 120s labels: gremlin.version: "2026-04-1" gremlin.context: "shm_size set to 1gb. It is needed for this application" @@ -26,11 +33,14 @@ services: homepage.icon: "firefox.png" homepage.href: "https://firefox.netgrimoire.com" homepage.description: "Remote Browser" - kuma.ff.http.name: "Firefox" - kuma.ff.http.url: "http://firefox:5800" + diun.enable: "true" + monitor.name: Firefox + monitor.url: http://firefox:5900 caddy: "firefox.netgrimoire.com" caddy.import: "authentik" - caddy.reverse_proxy: "http://firefox:5800" + caddy.reverse_proxy: firefox:5900 + caddy.import_1: crowdsec + caddy.import_2: authentik