-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
133 lines (127 loc) 路 2.86 KB
/
Copy pathdocker-compose.yml
File metadata and controls
133 lines (127 loc) 路 2.86 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
services:
redpanda:
image: redpandadata/redpanda:v24.1.1
container_name: aria-redpanda
command:
- redpanda
- start
- --smp
- "1"
- --memory
- "1G"
- --overprovisioned
- --node-id
- "0"
- --check=false
- --kafka-addr
- PLAINTEXT://0.0.0.0:9092
- --advertise-kafka-addr
- PLAINTEXT://localhost:9092
- --rpc-addr
- 0.0.0.0:33145
- --advertise-rpc-addr
- redpanda:33145
- --schema-registry-addr
- 0.0.0.0:8081
ports:
- "9092:9092"
- "8081:8081"
- "9644:9644"
volumes:
- redpanda-data:/var/lib/redpanda/data
healthcheck:
test: ["CMD-SHELL", "rpk cluster health --api-urls=localhost:9644 | grep -q Healthy"]
interval: 10s
timeout: 5s
retries: 10
start_period: 20s
env_file:
- .env
networks:
- aria-network
redpanda-console:
image: redpandadata/console:v2.4.0
container_name: aria-redpanda-console
ports:
- "8080:8080"
environment:
- KAFKA_BROKERS=redpanda:9092
- REDPANDA_ADMIN_API=redpanda:9644
- KAFKA_SCHEMAREGISTRY_ENABLED=true
- KAFKA_SCHEMAREGISTRY_URLS=http://redpanda:8081
depends_on:
redpanda:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost:8080/ > /dev/null"]
interval: 10s
timeout: 5s
retries: 10
start_period: 20s
env_file:
- .env
networks:
- aria-network
redis:
image: redis:7.2-alpine
container_name: aria-redis
ports:
- "6379:6379"
command: ["redis-server", "--appendonly", "yes"]
volumes:
- redis-data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 10
start_period: 10s
env_file:
- .env
networks:
- aria-network
redisinsight:
image: redis/redisinsight:latest
container_name: aria-redisinsight
ports:
- "5540:5540"
depends_on:
redis:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost:5540/ > /dev/null"]
interval: 10s
timeout: 5s
retries: 10
start_period: 20s
env_file:
- .env
networks:
- aria-network
qdrant:
image: qdrant/qdrant:v1.7.4
container_name: aria-qdrant
ports:
- "6333:6333"
- "6334:6334"
environment:
- QDRANT__SERVICE__GRPC_PORT=6334
volumes:
- qdrant-data:/qdrant/storage
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost:6333/readyz > /dev/null"]
interval: 10s
timeout: 5s
retries: 10
start_period: 20s
env_file:
- .env
networks:
- aria-network
networks:
aria-network:
driver: bridge
volumes:
redpanda-data:
redis-data:
qdrant-data: