xvc
Some checks are pending
Deploy on push / detect (push) Waiting to run
Deploy on push / deploy_swarm (push) Blocked by required conditions
Deploy on push / deploy_compose (push) Blocked by required conditions

This commit is contained in:
traveler 2026-02-13 09:27:45 -06:00
parent 84a9b23676
commit a801fc9dfc

View file

@ -1,3 +1,4 @@
version: "3.8"
networks:
netgrimoire:
@ -5,7 +6,7 @@ networks:
services:
consul-server:
image: consul:latest
image: hashicorp/consul:latest # Changed from consul:latest
hostname: "consul-{{.Task.Slot}}"
command: >
agent -server
@ -34,7 +35,7 @@ services:
- consul-data:/consul/data
deploy:
mode: replicated
replicas: 3 # Changed from 1 to 3
replicas: 3
placement:
constraints:
- node.role == manager
@ -62,7 +63,7 @@ services:
depends_on:
- consul-server
deploy:
mode: global # Runs on ALL 6 nodes
mode: global
restart_policy:
condition: any
delay: 5s