forked from svix/omniqueue-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testing-docker-compose.yml
89 lines (80 loc) · 2.68 KB
/
testing-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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: "3.7"
services:
rabbitmq:
image: rabbitmq:3.11.11-management-alpine
ports:
- "5672:5672"
- "15672:15672"
environment:
RABBITMQ_PLUGINS_DIR: "/opt/rabbitmq/plugins:/usr/lib/rabbitmq/plugins"
volumes:
- ./_rabbit/enabled_plugins:/etc/rabbitmq/enabled_plugins
- ./_rabbit/plugins:/usr/lib/rabbitmq/plugins
elasticmq: # Drop-in SQS replacement
image: softwaremill/elasticmq:1.3.14
ports:
- "9324:9324"
- "9325:9325"
redis:
image: redis:7
ports:
- "6379:6379"
redis-cluster:
image: bitnami/redis-cluster:7.0
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_NODES: "redis-cluster redis-cluster-node-0 redis-cluster-node-1 redis-cluster-node-2 redis-cluster-node-3 redis-cluster-node-4"
REDIS_CLUSTER_CREATOR: "yes"
REDIS_CLUSTER_REPLICAS: "1"
ports:
- "6380:6379"
depends_on:
- redis-cluster-node-0
- redis-cluster-node-1
- redis-cluster-node-2
- redis-cluster-node-3
- redis-cluster-node-4
redis-cluster-node-0:
image: bitnami/redis-cluster:7.0
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_NODES: "redis-cluster redis-cluster-node-0 redis-cluster-node-1 redis-cluster-node-2 redis-cluster-node-3 redis-cluster-node-4"
ports:
- "6381:6379"
redis-cluster-node-1:
image: bitnami/redis-cluster:7.0
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_NODES: "redis-cluster redis-cluster-node-0 redis-cluster-node-1 redis-cluster-node-2 redis-cluster-node-3 redis-cluster-node-4"
ports:
- "6382:6379"
redis-cluster-node-2:
image: bitnami/redis-cluster:7.0
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_NODES: "redis-cluster redis-cluster-node-0 redis-cluster-node-1 redis-cluster-node-2 redis-cluster-node-3 redis-cluster-node-4"
ports:
- "6383:6379"
redis-cluster-node-3:
image: bitnami/redis-cluster:7.0
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_NODES: "redis-cluster redis-cluster-node-0 redis-cluster-node-1 redis-cluster-node-2 redis-cluster-node-3 redis-cluster-node-4"
ports:
- "6384:6379"
redis-cluster-node-4:
image: bitnami/redis-cluster:7.0
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_NODES: "redis-cluster redis-cluster-node-0 redis-cluster-node-1 redis-cluster-node-2 redis-cluster-node-3 redis-cluster-node-4"
ports:
- "6385:6379"
gcp-pubsub:
image: gcr.io/google.com/cloudsdktool/google-cloud-cli:emulators
ports:
- "8085:8085"
command: [
"gcloud", "beta", "emulators", "pubsub", "start",
"--project", "local-project",
"--host-port", "0.0.0.0:8085"
]