-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-with-heroku-api.yml
44 lines (38 loc) · 1.13 KB
/
docker-compose-with-heroku-api.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
44
version: '3'
services:
activemq:
image: webcenter/activemq:latest
container_name: activemq-service
ports:
- 8161:8161
- 61616:61616
- 61613:61613
environment:
ACTIVEMQ_NAME: amq
ACTIVEMQ_REMOVE_DEFAULT_ACCOUNT: 'True'
ACTIVEMQ_ADMIN_LOGIN: admin
ACTIVEMQ_ADMIN_PASSWORD: admin
volumes:
- /container_data/activemq/data:/data/activemq
- /container_data/activemq/log:/var/log/activemq
parser:
build: ./announcement-processor-parser
container_name: parser-service
ports:
- 8081:8081
volumes:
- ./announcement-processor-parser/src:/srv/announcement-processor/parser/src
command: java -jar -Dspring.profiles.active=heroku ./target/parser-service.jar
depends_on:
- activemq
extractor:
build: ./announcement-processor-extractor
container_name: extractor-service
ports:
- 8082:8082
volumes:
- ./announcement-processor-extractor/src:/srv/announcement-extractor/extractor/src
command: java -jar -Dspring.profiles.active=demo ./target/extractor-service.jar
depends_on:
- activemq
- parser