-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
69 lines (61 loc) · 1.59 KB
/
docker-compose.yml
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
69
---
version: "3"
services:
app:
build:
context: .
depends_on:
- zalenium
ports:
- 9180:9180
environment:
- HUB_URL=http://zalenium:4444/wd/hub
- FREQUENCY=30
- NAME=local
# volumes:
# - ./.report.json:/app/.report.json
zalenium:
image: dosel/zalenium
ports:
- 4444:4444
volumes:
- /tmp/videos:/home/seluser/videos
- /var/run/docker.sock:/var/run/docker.sock
privileged: true
command: >
start --desiredContainers 1
--cbtEnabled false
--videoRecordingEnabled true
# this is here so that this image is pulled..
# there is no need to docker-compose the chrome container
# zalenium will talk to docker and orchestrate the workers
# however zalenium may have issues pulling sometimes..
chrome:
image: elgalu/selenium
command: [ /bin/false ]
restart: "no"
# pushgateway:
# image: prom/pushgateway:v0.4.0
# ports:
# - 9091:9091
# grafana:
# image: grafana/grafana:4.6.2
# ports:
# - 3000:3000
# environment:
# - GF_SECURITY_ADMIN_PASSWORD=admin
# alertmanager:
# image: prom/alertmanager:v0.11.0
# command: --config.file=/etc/alertmanager/alertmanager.yml
# ports:
# - 9093:9093
# volumes:
# - ./local/alertmanager.yml:/etc/alertmanager/alertmanager.yml
prometheus:
image: prom/prometheus:v2.0.0
command: --config.file=/etc/prometheus/prometheus.yml
ports:
- 9090:9090
volumes:
- ./local/prometheus.yml:/etc/prometheus/prometheus.yml
- ./local/alerts/:/etc/prometheus/rules.d/