-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (38 loc) · 996 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (38 loc) · 996 Bytes
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
---
services:
alloy:
image: "grafana/alloy:latest"
ports:
- "127.0.0.1:12345:12345"
volumes:
- ./config.alloy:/etc/alloy/config.alloy
- ./targets.yml:/etc/alloy/targets.yml
- alloy-data:/var/lib/alloy/data
command:
- run
- --server.http.listen-addr=0.0.0.0:12345
- --storage.path=/var/lib/alloy/data
- /etc/alloy/config.alloy
sherlock:
build:
context: .
dockerfile: docker/Dockerfile
environment:
- REDFISH_USERNAME=${REDFISH_USERNAME:-admin}
- REDFISH_PASSWORD=${REDFISH_PASSWORD:-password}
- REDFISH_INSECURE=true
- LOG_LEVEL=debug
ports:
- "127.0.0.1:9291:9290"
command:
- ./sherlock
- --web.listen-address=0.0.0.0:9290
- --web.telemetry-path=/metrics
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:9290/"]
interval: 30s
timeout: 10s
retries: 3
volumes:
alloy-data: