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"
This commit is contained in:
parent
f96d934c27
commit
d3f33ca82c
1 changed files with 15 additions and 5 deletions
|
|
@ -3,7 +3,6 @@ services:
|
||||||
|
|
||||||
firefox:
|
firefox:
|
||||||
image: jlesage/firefox
|
image: jlesage/firefox
|
||||||
container_name: firefox
|
|
||||||
networks:
|
networks:
|
||||||
- netgrimoire
|
- netgrimoire
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -16,8 +15,16 @@ services:
|
||||||
- 5910:5900
|
- 5910:5900
|
||||||
- 5800:5800
|
- 5800:5800
|
||||||
shm_size: "1gb"
|
shm_size: "1gb"
|
||||||
restart: unless-stopped
|
|
||||||
deploy:
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.platform.arch != arm
|
||||||
|
- node.platform.arch != aarch64
|
||||||
|
restart_policy:
|
||||||
|
condition: any
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
|
window: 120s
|
||||||
labels:
|
labels:
|
||||||
gremlin.version: "2026-04-1"
|
gremlin.version: "2026-04-1"
|
||||||
gremlin.context: "shm_size set to 1gb. It is needed for this application"
|
gremlin.context: "shm_size set to 1gb. It is needed for this application"
|
||||||
|
|
@ -26,11 +33,14 @@ services:
|
||||||
homepage.icon: "firefox.png"
|
homepage.icon: "firefox.png"
|
||||||
homepage.href: "https://firefox.netgrimoire.com"
|
homepage.href: "https://firefox.netgrimoire.com"
|
||||||
homepage.description: "Remote Browser"
|
homepage.description: "Remote Browser"
|
||||||
kuma.ff.http.name: "Firefox"
|
diun.enable: "true"
|
||||||
kuma.ff.http.url: "http://firefox:5800"
|
monitor.name: Firefox
|
||||||
|
monitor.url: http://firefox:5900
|
||||||
caddy: "firefox.netgrimoire.com"
|
caddy: "firefox.netgrimoire.com"
|
||||||
caddy.import: "authentik"
|
caddy.import: "authentik"
|
||||||
caddy.reverse_proxy: "http://firefox:5800"
|
caddy.reverse_proxy: firefox:5900
|
||||||
|
caddy.import_1: crowdsec
|
||||||
|
caddy.import_2: authentik
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue