-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.rabbitmq.yml
More file actions
39 lines (35 loc) · 920 Bytes
/
docker-compose.rabbitmq.yml
File metadata and controls
39 lines (35 loc) · 920 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
version: '2.4'
services:
generator:
environment:
MESSAGING_STRATEGY: RabbitMQ
RABBITMQ_URL: amqp://test:test123@rabbitmq:5672/
depends_on:
rabbitmq:
condition: service_healthy
worker:
environment:
MESSAGING_STRATEGY: RabbitMQ
RABBITMQ_URL: amqp://test:test123@rabbitmq:5672/
depends_on:
rabbitmq:
condition: service_healthy
reporter:
environment:
MESSAGING_STRATEGY: RabbitMQ
RABBITMQ_URL: amqp://test:test123@rabbitmq:5672/
depends_on:
rabbitmq:
condition: service_healthy
rabbitmq:
image: rabbitmq:3.8.2-management
environment:
RABBITMQ_DEFAULT_USER: test
RABBITMQ_DEFAULT_PASS: test123
ports:
- 127.0.0.1:5672:5672
- 127.0.0.1:15672:15672
volumes:
- ./rabbitmq_enabled_plugins:/etc/rabbitmq/enabled_plugins:ro
healthcheck:
test: rabbitmqctl status