forked from oliver006/redis_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-for-tests.yml
83 lines (69 loc) · 2.07 KB
/
docker-compose-for-tests.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: '3'
services:
redis5:
image: redis:5
command: "redis-server --port 6383 --dbfilename dump5.rdb"
ports:
- "16383:6383"
redis6:
image: redis:6.2
command: "redis-server --protected-mode no --dbfilename dump6.rdb"
ports:
- "16379:6379"
redis7:
image: redis:7.0
command: "redis-server --port 6384 --protected-mode no --dbfilename dump7.rdb"
ports:
- "16384:6384"
pwd-redis5:
image: redis:5
command: "redis-server --port 6380 --requirepass redis-password --dbfilename dump5-pwd.rdb"
ports:
- "16380:6380"
pwd-redis6:
image: redis:6
command: "redis-server --port 6390 --requirepass dummy --user exporter on +CLIENT +INFO +SELECT +SLOWLOG +LATENCY '>exporter-password' --dbfilename dump6-pwd.rdb"
ports:
- "16390:6390"
redis-2-8:
image: redis:2.8
command: "redis-server --port 6381 --dbfilename dump2-8.rdb"
ports:
- "16381:6381"
keydb-01:
image: "eqalpha/keydb:x86_64_v6.3.1"
command: "keydb-server --protected-mode no --port 6401 --dbfilename dump-keydb-01.rdb"
ports:
- "16401:6401"
keydb-02:
image: "eqalpha/keydb:x86_64_v6.3.1"
command: "keydb-server --protected-mode no --port 6402 --active-replica yes --replicaof keydb-01 6401 --dbfilename dump-keydb-02.rdb"
ports:
- "16402:6402"
redis-cluster:
image: grokzen/redis-cluster
ports: [ "7000", "7001", "7002", "7003", "7004", "7005" ]
redis-cluster-password:
image: bitnami/redis-cluster
environment:
- REDIS_PORT_NUMBER=7006
- REDIS_PASSWORD=redis-password
- REDIS_CLUSTER_CREATOR=yes
- REDIS_NODES=redis-cluster-password:7006
ports:
- "7006"
redis-sentinel:
image: docker.io/bitnami/redis-sentinel:6.2-debian-10
environment:
- REDIS_MASTER_HOST=redis6
ports:
- "26379"
tile38:
image: tile38/tile38:latest
ports:
- "19851:9851"
tests:
image: golang:1.20
working_dir: /go/src/github.com/oliver006/redis_exporter
volumes:
- ..:/go/src/github.com/oliver006/redis_exporter