-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (47 loc) · 1.33 KB
/
Copy pathdocker-compose.yml
File metadata and controls
50 lines (47 loc) · 1.33 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
services:
postgres:
image: postgres:16
container_name: eventify-postgres
restart: unless-stopped
ports:
- "5432:5432"
environment:
POSTGRES_USER: eventify
POSTGRES_PASSWORD: eventify
POSTGRES_DB: eventify
# Named volume, not a host path. The previous file bind-mounted
# /Users/talabi/shared-volume/postgres, which exists on exactly one machine.
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U eventify -d eventify"]
interval: 5s
timeout: 5s
retries: 5
rabbitmq:
image: rabbitmq:3-management
container_name: eventify-rabbitmq
restart: unless-stopped
ports:
- "5672:5672" # AMQP
- "15672:15672" # management UI
volumes:
- rabbitmq-data:/var/lib/rabbitmq
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
interval: 10s
timeout: 5s
retries: 5
jaeger:
image: jaegertracing/all-in-one:latest
container_name: eventify-jaeger
restart: unless-stopped
ports:
- "16686:16686" # Jaeger UI
- "4318:4318" # OTLP HTTP — what pkg/telemetry exports to
- "9411:9411" # Zipkin compatibility
environment:
COLLECTOR_ZIPKIN_HOST_PORT: ":9411"
volumes:
postgres-data:
rabbitmq-data: