sdf
This commit is contained in:
parent
4608600f27
commit
3b8f1795f5
1 changed files with 178 additions and 0 deletions
178
swarm/homepage-agent.yaml
Normal file
178
swarm/homepage-agent.yaml
Normal file
|
|
@ -0,0 +1,178 @@
|
||||||
|
networks:
|
||||||
|
netgrimoire:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
homepage-agent-docker3:
|
||||||
|
image: ghcr.io/gethomepage/agent:latest
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
|
environment:
|
||||||
|
PUID: "1964"
|
||||||
|
PGID: "1964"
|
||||||
|
HOMEPAGE_AGENT_PORT: "4111"
|
||||||
|
ports:
|
||||||
|
- target: 4111
|
||||||
|
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.caddy.skip: "true"
|
||||||
|
gremlin.homepage.skip: "true"
|
||||||
|
gremlin.monitor.skip: "true"
|
||||||
|
diun.enable: "true"
|
||||||
|
|
||||||
|
homepage-agent-docker4:
|
||||||
|
image: ghcr.io/gethomepage/agent:latest
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
|
environment:
|
||||||
|
PUID: "1964"
|
||||||
|
PGID: "1964"
|
||||||
|
HOMEPAGE_AGENT_PORT: "4112"
|
||||||
|
ports:
|
||||||
|
- target: 4111
|
||||||
|
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.caddy.skip: "true"
|
||||||
|
gremlin.homepage.skip: "true"
|
||||||
|
gremlin.monitor.skip: "true"
|
||||||
|
diun.enable: "true"
|
||||||
|
|
||||||
|
homepage-agent-docker5:
|
||||||
|
image: ghcr.io/gethomepage/agent:latest
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
|
environment:
|
||||||
|
PUID: "1964"
|
||||||
|
PGID: "1964"
|
||||||
|
HOMEPAGE_AGENT_PORT: "4113"
|
||||||
|
ports:
|
||||||
|
- target: 4111
|
||||||
|
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.caddy.skip: "true"
|
||||||
|
gremlin.homepage.skip: "true"
|
||||||
|
gremlin.monitor.skip: "true"
|
||||||
|
diun.enable: "true"
|
||||||
|
|
||||||
|
homepage-agent-znas:
|
||||||
|
image: ghcr.io/gethomepage/agent:latest
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
|
environment:
|
||||||
|
PUID: "1964"
|
||||||
|
PGID: "1964"
|
||||||
|
HOMEPAGE_AGENT_PORT: "4114"
|
||||||
|
ports:
|
||||||
|
- target: 4111
|
||||||
|
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.caddy.skip: "true"
|
||||||
|
gremlin.homepage.skip: "true"
|
||||||
|
gremlin.monitor.skip: "true"
|
||||||
|
diun.enable: "true"
|
||||||
|
|
||||||
|
homepage-agent-dockerpi1:
|
||||||
|
image: ghcr.io/gethomepage/agent:latest
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
|
environment:
|
||||||
|
PUID: "1964"
|
||||||
|
PGID: "1964"
|
||||||
|
HOMEPAGE_AGENT_PORT: "4115"
|
||||||
|
ports:
|
||||||
|
- target: 4111
|
||||||
|
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.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