diff --git a/gatus/config.yaml b/gatus/config.yaml index 5ca53b4..9dd66e1 100644 --- a/gatus/config.yaml +++ b/gatus/config.yaml @@ -30,6 +30,15 @@ web: port: 8080 endpoints: + - name: Kopia-Vault + url: tcp://kopia:51516 + interval: 60s + conditions: + - "[CONNECTED] == true" + alerts: + - type: ntfy + description: "Kopia-Vault is down" + send-on-resolved: true - name: Kopia url: tcp://kopia:51515 interval: 60s diff --git a/swarm/vault.yaml b/swarm/vault.yaml index 3ef0072..39e639c 100644 --- a/swarm/vault.yaml +++ b/swarm/vault.yaml @@ -1,9 +1,6 @@ services: vault: image: kopia/kopia:latest - container_name: kopia - hostname: kopia - restart: unless-stopped user: "1964:1964" ports: - 51516:51515 @@ -32,10 +29,18 @@ services: networks: - netgrimoire deploy: + restart_policy: + condition: any + delay: 5s + max_attempts: 3 + window: 120s placement: constraints: + - node.platform.arch != arm + - node.platform.arch != aarch64 - node.hostname == znas labels: + gremlin.version: "2026-04-1" diun.enable: "true" # --- Caddy --- # --- Caddy ---