forked from whatyouhide/redix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
56 lines (50 loc) · 1.02 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
version: '3'
services:
base:
image: "redis:alpine"
ports:
- "6379:6379"
sysctls:
net.core.somaxconn: 1024
pubsub:
image: "redis:alpine"
ports:
- "6380:6379"
sysctls:
net.core.somaxconn: 1024
base_with_auth:
image: "redis:alpine"
command: redis-server --requirepass some-password
ports:
- "16379:6379"
sysctls:
net.core.somaxconn: 1024
sentinel:
build: ./test/docker/sentinel
ports:
- "6381:6381"
- "6382:6382"
- "26379:26379"
- "26380:26380"
- "26381:26381"
sysctls:
net.core.somaxconn: 1024
sentinel_with_auth:
build: ./test/docker/sentinel_with_auth
ports:
- "6383:6383"
- "26383:26383"
sysctls:
net.core.somaxconn: 1024
base_with_stunnel:
image: dweomer/stunnel
environment:
- STUNNEL_SERVICE=base
- STUNNEL_ACCEPT=6384
- STUNNEL_CONNECT=base:6379
links:
- base
ports:
- 6384:6384
sysctls:
net.core.somaxconn: 1024