-
Notifications
You must be signed in to change notification settings - Fork 377
/
docker-compose.yml
43 lines (40 loc) · 1.22 KB
/
docker-compose.yml
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
version: '3.7'
services:
rabbitmq:
image: rabbitmq:3.8
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASSWORD: guest
RABBITMQ_DEFAULT_VHOST: /
RABBITMQ_SSL_CACERTFILE: /rootCA.pem
RABBITMQ_SSL_CERTFILE: /rootCA.pem
RABBITMQ_SSL_KEYFILE: /rootCA.key
RABBITMQ_SSL_VERIFY: verify_none
RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT: "false"
volumes:
- "./tests/files/rootCA.pem:/rootCA.pem:ro"
- "./tests/files/rootCA.key:/rootCA.key:ro"
ports:
- "15671:15671"
- "15672:15672"
- "5671:5671"
- "5672:5672"
rabbitmq-management:
image: rabbitmq:management
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASSWORD: guest
RABBITMQ_DEFAULT_VHOST: /
RABBITMQ_MANAGEMENT_SSL_CACERTFILE: /rootCA.pem
RABBITMQ_MANAGEMENT_SSL_CERTFILE: /rootCA.pem
RABBITMQ_MANAGEMENT_SSL_KEYFILE: /rootCA.key
RABBITMQ_MANAGEMENT_SSL_VERIFY: verify_none
RABBITMQ_MANAGEMENT_SSL_FAIL_IF_NO_PEER_CERT: "false"
volumes:
- "./tests/files/rootCA.pem:/rootCA.pem:ro"
- "./tests/files/rootCA.key:/rootCA.key:ro"
ports:
- 15671:15671
- 15672:15672
- 5671:5671
- 5672:5672