sad
This commit is contained in:
parent
5c22126e8a
commit
657c3d28b8
1 changed files with 193 additions and 0 deletions
193
swarm/homepage-agents.yaml
Normal file
193
swarm/homepage-agents.yaml
Normal file
|
|
@ -0,0 +1,193 @@
|
|||
networks:
|
||||
netgrimoire:
|
||||
external: true
|
||||
|
||||
services:
|
||||
dockerproxy-docker3:
|
||||
image: ghcr.io/tecnativa/docker-socket-proxy:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
networks:
|
||||
- netgrimoire
|
||||
environment:
|
||||
CONTAINERS: "1"
|
||||
SERVICES: "1"
|
||||
TASKS: "1"
|
||||
POST: "0"
|
||||
ports:
|
||||
- target: 2375
|
||||
published: 4111
|
||||
protocol: tcp
|
||||
mode: host
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
window: 120s
|
||||
placement:
|
||||
constraints:
|
||||
- node.platform.arch != aarch64
|
||||
- node.platform.arch != arm
|
||||
- node.hostname == docker3
|
||||
labels:
|
||||
gremlin.version: "2026-04-1"
|
||||
gremlin.uid.exempt: "true"
|
||||
gremlin.uid.reason: "socket proxy runs as root by design"
|
||||
gremlin.caddy.skip: "true"
|
||||
gremlin.homepage.skip: "true"
|
||||
gremlin.monitor.skip: "true"
|
||||
diun.enable: "true"
|
||||
|
||||
dockerproxy-docker4:
|
||||
image: ghcr.io/tecnativa/docker-socket-proxy:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
networks:
|
||||
- netgrimoire
|
||||
environment:
|
||||
CONTAINERS: "1"
|
||||
SERVICES: "1"
|
||||
TASKS: "1"
|
||||
POST: "0"
|
||||
ports:
|
||||
- target: 2375
|
||||
published: 4112
|
||||
protocol: tcp
|
||||
mode: host
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
window: 120s
|
||||
placement:
|
||||
constraints:
|
||||
- node.platform.arch != aarch64
|
||||
- node.platform.arch != arm
|
||||
- node.hostname == docker4
|
||||
labels:
|
||||
gremlin.version: "2026-04-1"
|
||||
gremlin.uid.exempt: "true"
|
||||
gremlin.uid.reason: "socket proxy runs as root by design"
|
||||
gremlin.caddy.skip: "true"
|
||||
gremlin.homepage.skip: "true"
|
||||
gremlin.monitor.skip: "true"
|
||||
diun.enable: "true"
|
||||
|
||||
dockerproxy-docker5:
|
||||
image: ghcr.io/tecnativa/docker-socket-proxy:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
networks:
|
||||
- netgrimoire
|
||||
environment:
|
||||
CONTAINERS: "1"
|
||||
SERVICES: "1"
|
||||
TASKS: "1"
|
||||
POST: "0"
|
||||
ports:
|
||||
- target: 2375
|
||||
published: 4113
|
||||
protocol: tcp
|
||||
mode: host
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
window: 120s
|
||||
placement:
|
||||
constraints:
|
||||
- node.platform.arch != aarch64
|
||||
- node.platform.arch != arm
|
||||
- node.hostname == docker5
|
||||
labels:
|
||||
gremlin.version: "2026-04-1"
|
||||
gremlin.uid.exempt: "true"
|
||||
gremlin.uid.reason: "socket proxy runs as root by design"
|
||||
gremlin.caddy.skip: "true"
|
||||
gremlin.homepage.skip: "true"
|
||||
gremlin.monitor.skip: "true"
|
||||
diun.enable: "true"
|
||||
|
||||
dockerproxy-znas:
|
||||
image: ghcr.io/tecnativa/docker-socket-proxy:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
networks:
|
||||
- netgrimoire
|
||||
environment:
|
||||
CONTAINERS: "1"
|
||||
SERVICES: "1"
|
||||
TASKS: "1"
|
||||
POST: "0"
|
||||
ports:
|
||||
- target: 2375
|
||||
published: 4114
|
||||
protocol: tcp
|
||||
mode: host
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
window: 120s
|
||||
placement:
|
||||
constraints:
|
||||
- node.platform.arch != aarch64
|
||||
- node.platform.arch != arm
|
||||
- node.hostname == znas
|
||||
labels:
|
||||
gremlin.version: "2026-04-1"
|
||||
gremlin.uid.exempt: "true"
|
||||
gremlin.uid.reason: "socket proxy runs as root by design"
|
||||
gremlin.caddy.skip: "true"
|
||||
gremlin.homepage.skip: "true"
|
||||
gremlin.monitor.skip: "true"
|
||||
diun.enable: "true"
|
||||
|
||||
dockerproxy-dockerpi1:
|
||||
image: ghcr.io/tecnativa/docker-socket-proxy:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
networks:
|
||||
- netgrimoire
|
||||
environment:
|
||||
CONTAINERS: "1"
|
||||
SERVICES: "1"
|
||||
TASKS: "1"
|
||||
POST: "0"
|
||||
ports:
|
||||
- target: 2375
|
||||
published: 4115
|
||||
protocol: tcp
|
||||
mode: host
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
window: 120s
|
||||
placement:
|
||||
constraints:
|
||||
- node.hostname == dockerpi1
|
||||
labels:
|
||||
gremlin.version: "2026-04-1"
|
||||
gremlin.arm.allow: "true"
|
||||
gremlin.uid.exempt: "true"
|
||||
gremlin.uid.reason: "socket proxy runs as root by design"
|
||||
gremlin.caddy.skip: "true"
|
||||
gremlin.homepage.skip: "true"
|
||||
gremlin.monitor.skip: "true"
|
||||
diun.enable: "true"
|
||||
Loading…
Add table
Add a link
Reference in a new issue