-
-
Notifications
You must be signed in to change notification settings - Fork 180
Expand file tree
/
Copy pathcompose.rabbitmq.yml
More file actions
34 lines (34 loc) · 878 Bytes
/
compose.rabbitmq.yml
File metadata and controls
34 lines (34 loc) · 878 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
services:
rest-server-rabbitmq:
extends:
file: compose.common.yml
service: rest-server-common
build:
args:
TAG: rabbitmq
environment:
RABBITMQ_URL: amqp://guest:guest@rabbitmq:5672/
depends_on:
rabbitmq:
condition: service_healthy
elasticsearch-indexer-rabbitmq:
extends:
file: compose.common.yml
service: elasticsearch-indexer-common
build:
dockerfile: ./dockerfiles/elasticsearch-indexer-rabbitmq.Dockerfile
environment:
RABBITMQ_URL: amqp://guest:guest@rabbitmq:5672/
depends_on:
rabbitmq:
condition: service_started
rabbitmq:
image: rabbitmq:3.11.10-management-alpine
ports:
- 5672:5672
- 15672:15672
healthcheck:
test: ["CMD-SHELL", "rabbitmq-diagnostics -q ping"]
interval: 30s
timeout: 30s
retries: 5