;'lkj
This commit is contained in:
parent
58c553ecb1
commit
13d504265b
3 changed files with 5 additions and 91 deletions
|
|
@ -107,6 +107,11 @@ services:
|
|||
- FORGEJO_WRITE_TOKEN=${FORGEJO_WRITE_TOKEN}
|
||||
- N8N_BLOCK_ENV_ACCESS_IN_NODE=false
|
||||
- N8N_RUNNERS_TASK_TIMEOUT=600000
|
||||
- ZNAS_IP=192.168.5.10
|
||||
- DOCKER3_IP=192.168.5.15
|
||||
- DOCKER4_IP=192.168.5.16
|
||||
- DOCKER5_IP=192.168.5.18
|
||||
- DOCKERPI1_IP=192.168.5.8
|
||||
networks:
|
||||
- netgrimoire
|
||||
deploy:
|
||||
|
|
|
|||
|
|
@ -1,52 +0,0 @@
|
|||
services:
|
||||
deploy-agent:
|
||||
image: registry.netgrimoire.com/gremlin-deploy-agent:latest
|
||||
environment:
|
||||
TZ: America/Chicago
|
||||
AGENT_SECRET: ${AGENT_SECRET}
|
||||
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:
|
||||
# --- Caddy (health endpoint only — /deploy stays internal) ---
|
||||
caddy: deploy-agent.netgrimoire.com
|
||||
caddy.reverse_proxy: deploy-agent:5000
|
||||
caddy.import_1: crowdsec
|
||||
caddy.import_2: authentik
|
||||
|
||||
# --- Uptime Kuma ---
|
||||
kuma.deploy-agent.http.name: Gremlin Deploy Agent
|
||||
kuma.deploy-agent.http.url: https://deploy-agent.netgrimoire.com/health
|
||||
|
||||
# --- Homepage ---
|
||||
homepage.group: Gremlin
|
||||
homepage.name: Deploy Agent
|
||||
homepage.icon: webhook.png
|
||||
homepage.href: https://deploy-agent.netgrimoire.com/health
|
||||
homepage.description: CI/CD Deploy Executor
|
||||
|
||||
# --- DIUN ---
|
||||
diun.enable: "true"
|
||||
|
||||
networks:
|
||||
netgrimoire:
|
||||
external: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue