-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathdocker-compose-v3-monitoring.yml
More file actions
68 lines (62 loc) · 1.75 KB
/
docker-compose-v3-monitoring.yml
File metadata and controls
68 lines (62 loc) · 1.75 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
68
# To execute this docker compose yml file use `docker compose -f docker-compose-v3-monitoring.yml up`
# Add the `-d` flag at the end for detached execution
# To stop the execution, hit Ctrl+C, and then `docker compose -f docker-compose-v3-monitoring.yml down`
services:
chrome:
image: selenium/node-chrome:4.43.0-20260404
platform: linux/amd64
shm_size: 2gb
depends_on:
- selenium-hub
environment:
- SE_EVENT_BUS_HOST=selenium-hub
edge:
image: selenium/node-edge:4.43.0-20260404
platform: linux/amd64
shm_size: 2gb
depends_on:
- selenium-hub
environment:
- SE_EVENT_BUS_HOST=selenium-hub
firefox:
image: selenium/node-firefox:4.43.0-20260404
shm_size: 2gb
depends_on:
- selenium-hub
environment:
- SE_EVENT_BUS_HOST=selenium-hub
selenium-hub:
image: selenium/hub:4.43.0-20260404
container_name: selenium-hub
ports:
- "4442:4442"
- "4443:4443"
- "4444:4444"
prometheus:
image: prom/prometheus:latest
container_name: prometheus
ports:
- "9090:9090"
volumes:
- ./.monitoring/config/prometheus.yml:/etc/prometheus/prometheus.yml:ro
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.retention.time=7d
depends_on:
- selenium-hub
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_USERS_ALLOW_SIGN_UP=false
volumes:
- ./.monitoring/config/grafana/provisioning:/etc/grafana/provisioning:ro
- ./.monitoring/dashboards:/var/lib/grafana/dashboards:ro
- grafana-storage:/var/lib/grafana
depends_on:
- prometheus
volumes:
grafana-storage: