-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (49 loc) · 1.26 KB
/
docker-compose.yml
File metadata and controls
53 lines (49 loc) · 1.26 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
51
52
53
version: '2'
services:
activemq:
image: activemq
build:
context: ./activemq
dockerfile: Dockerfile
container_name: activemq_1
ports:
- "5672:5672"
- "61616:61616"
- "8161:8161"
volumes:
- activemq-vol:/mnt/nfs-share/activemq
rabbitmq:
build:
context: ./rabbitmq
dockerfile: Dockerfile
container_name: rabbitmq_1
depends_on:
- ssl-gen
environment:
- RABBITMQ_MNESIA_BASE=/mnt/rabbitmq/data/mnesia
ports:
- "5671:5671"
- "5672:5672"
- "8080:15672"
volumes:
- rabbitmq-vol:/mnt/rabbitmq/data
- ssl-vol:/mnt/ssl
- ./rabbitmq/:/mnt/rabbitmq/config/
ssl-gen:
build:
context: ./ssl-gen
dockerfile: Dockerfile
container_name: ssl-gen_1
environment:
- SSL_PASSWORD=password
- SERVER_SUBJ=/CN=rabbitmq/O=server/
- CLIENT_SUBJ=/CN=rabbitmq/O=client/
volumes:
- ssl-vol:/mnt/ssl
volumes:
activemq-vol:
driver: local
rabbitmq-vol:
driver: local
ssl-vol:
driver: local