forked from open-edge-platform/edge-ai-suites
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
67 lines (62 loc) · 1.97 KB
/
compose.yaml
File metadata and controls
67 lines (62 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Copyright (C) 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
# Standalone Docker Compose for Metrics Service
# This can be deployed independently on any host system with a collector
name: ${PROJECT_NAME:-metrics-stack}
services:
live-metrics-service:
image: ${REGISTRY:-}live-metrics-service:${TAG:-latest}
build: .
container_name: live-metrics-service
environment:
- no_proxy=localhost,127.0.0.1,collector,${no_proxy}
- NO_PROXY=localhost,127.0.0.1,collector,${NO_PROXY}
- http_proxy=${http_proxy}
- HTTP_PROXY=${http_proxy}
- https_proxy=${https_proxy}
- HTTPS_PROXY=${https_proxy}
- METRICS_PORT=${METRICS_PORT:-9090}
- LOG_LEVEL=${LOG_LEVEL:-INFO}
- CORS_ORIGINS=${CORS_ORIGINS:-*}
# Optional: Configure target service polling
- TARGET_SERVICE_URL=${TARGET_SERVICE_URL:-}
- POLL_INTERVAL_SECONDS=${POLL_INTERVAL_SECONDS:-2}
ports:
- "${METRICS_PORT:-9090}:9090"
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:9090/health" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
restart: unless-stopped
networks:
- metrics_network
collector:
image: docker.io/intel/vippet-collector:2026.0.0-20260217-weekly
container_name: collector
ports:
- "${PROMETHEUS_PORT:-9273}:9273"
privileged: true
devices:
- "/sys:/sys"
- "/dev:/dev"
- "/run:/run"
- "/proc:/proc"
pid: host
volumes:
- "./telegraf.conf:/etc/telegraf/telegraf.conf:ro"
- "./collector-signals:/app/.collector-signals"
restart: on-failure:5
environment:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
- no_proxy=localhost,127.0.0.1,live-metrics-service,${no_proxy}
- WEBSOCKET_URL=ws://live-metrics-service:9090/ws/collector
depends_on:
- live-metrics-service
networks:
- metrics_network
networks:
metrics_network:
driver: bridge