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