-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 951 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 951 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
40
version: '3'
services:
#publisher service
producer:
build: dockerize/
volumes:
- "$MINER/miner/maven-indexer:/dist"
depends_on:
- neo4j
- rabbitmq
command: dockerize -wait http://rabbitmq:15672 -timeout 30s /dist/run-producer.sh --queue rabbitmq:5672 $FILE_COMMAND
#consumer service
consumer:
build: dockerize/
volumes:
- "$MINER/miner/maven-aether:/dist"
depends_on:
- neo4j
- rabbitmq
command: dockerize -wait http://neo4j:7474 -wait http://rabbitmq:15672/#/queues/%2F/artifactsQueue -timeout 60s /dist/run-consumer.sh --db neo4j:7687 --queue rabbitmq:5672
#neo4j service
neo4j:
build: neo4j/
volumes:
- "$NEO4J_VAR/data:/data"
#- "$NEO4J_VAR/logs:/logs"
ports:
- "7474:7474"
- "7687:7687"
env_file:
- neo4j.env
#rabbit mq service
rabbitmq:
build: rabbitmq/
ports:
- "15672:15672"
- "5672:5672"