Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/production/swarm-scheduler-exporter/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
# The exporter that reports the swarm's state, its nodes and each service's tasks to the metrics monitoring.
cap_drop:
- ALL
command: ["-label", "vibetype.one-shot"]
command: ["--label", "vibetype.one-shot"]
deploy:
labels:
- dargstack.profiles=analytics
Expand All @@ -23,12 +23,12 @@ services:
- DOCKER_HOST=tcp://docker-socket-proxy:2375
healthcheck:
# The image is distroless and has no shell, so the binary probes its own readiness endpoint.
test: ["CMD", "/usr/local/bin/swarm-scheduler-exporter", "-healthcheck"]
test: ["CMD", "/usr/local/bin/swarm-scheduler-exporter", "--healthcheck"]
interval: 30s
timeout: 5s
start_period: 90s
retries: 3
image: ghcr.io/leinardi/swarm-scheduler-exporter:v1.3.2
image: ghcr.io/leinardi/swarm-scheduler-exporter:v2.0.0
logging:
driver: json-file
options:
Expand Down
Loading