df
This commit is contained in:
parent
ce875510c1
commit
0bf15fab63
1 changed files with 39 additions and 0 deletions
39
swarm/DeployAgent.yaml
Normal file
39
swarm/DeployAgent.yaml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
services:
|
||||
deploy-agent:
|
||||
image: registry.netgrimoire.com/gremlin-deploy-agent:latest
|
||||
environment:
|
||||
TZ: America/Chicago
|
||||
AGENT_SECRET: d11fbd7ddb53f8c2ec7b2eadd207f5ce3a97ba655501b69061687b77ef6273b4
|
||||
REPO_PATH: /repo
|
||||
DEPLOY_TIMEOUT: "300"
|
||||
LOCAL_HOSTNAME: znas
|
||||
VOLUME_UID_GID: "1964:1964"
|
||||
KUMA_URL: https://kuma.netgrimoire.com
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /home/gremlin/services:/repo:rw
|
||||
- /home/gremlin/.ssh/id_ed25519:/home/node/.ssh/id_ed25519:ro
|
||||
networks:
|
||||
- netgrimoire
|
||||
deploy:
|
||||
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:
|
||||
# --- Uptime Kuma ---
|
||||
kuma.deploy-agent.http.name: Gremlin Deploy Agent
|
||||
kuma.deploy-agent.http.url: http://deploy-agent:5000/health
|
||||
|
||||
# --- DIUN ---
|
||||
diun.enable: "true"
|
||||
|
||||
networks:
|
||||
netgrimoire:
|
||||
external: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue