-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·92 lines (83 loc) · 1.86 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: "3.9"
services:
broker:
hostname: broker
image: broker
ports:
- "8080:8080"
entrypoint: /bin/sh -c "./scripts/wait-for-it.sh -t 0 scylla:9042" # change the host and port to the name of the database container
restart: on-failure
environment:
- DATABASE_TYPE=scylla # change the host and port to the name of the database container
depends_on:
- Scylla # and here
- Prometheus
- Grafana
- Jaeger
networks:
- mynetwork
Jaeger:
hostname: jaeger
image: jaegertracing/all-in-one:latest
ports:
- "6831:6831/udp"
- "16686:16686"
- "14268:14268"
networks:
- mynetwork
Postgres:
hostname: postgres
image: postgres:latest
restart: on-failure
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- "5432:5432"
networks:
- mynetwork
Scylla:
hostname: scylla
image: scylladb/scylla:latest
ports:
- "9042:9042"
restart: on-failure
networks:
- mynetwork
Cassandra:
hostname: cassandra
image: cassandra:latest
ports:
- "9042:9042"
restart: on-failure
networks:
- mynetwork
Prometheus:
hostname: prometheus
image: prom/prometheus:latest
volumes:
- ./configs/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
networks:
- mynetwork
Grafana:
image: grafana/grafana:latest
ports:
- "3000:3000"
networks:
- mynetwork
Envoy:
hostname: envoy
image: envoyproxy/envoy:dev-d12d47b05a832ce04d9130a869fa72f7ddbcef28
ports:
- "10000:10000"
depends_on:
- broker
volumes:
- ./configs/rateLimit/envoy-proxy-ratelimit.yaml:/etc/envoy/envoy.yaml
networks:
- mynetwork
networks:
mynetwork: