-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 917 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (40 loc) · 917 Bytes
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
services:
postgres:
image: pgvector/pgvector:pg18
ports:
- "5432:5432"
environment:
POSTGRES_DB: openzosma
POSTGRES_USER: openzosma
POSTGRES_PASSWORD: openzosma
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U openzosma"]
interval: 5s
timeout: 5s
retries: 5
valkey:
image: valkey/valkey:8-alpine
ports:
- "6379:6379"
healthcheck:
test: ["CMD", "valkey-cli", "ping"]
interval: 5s
timeout: 5s
retries: 5
rabbitmq:
image: rabbitmq:4-management-alpine
ports:
- "5672:5672"
- "15672:15672"
environment:
RABBITMQ_DEFAULT_USER: openzosma
RABBITMQ_DEFAULT_PASS: openzosma
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
interval: 10s
timeout: 10s
retries: 5
volumes:
pgdata: