forked from kingsBSD/SocialMiner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (59 loc) · 1.37 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '2'
services:
neo4j:
build:
context: .
dockerfile: Dockerfile.neo4j
container_name: birdspider_neo4j
network_mode: "host"
ports:
- "7474:7474"
- "7473:7473"
- "7687:7687"
environment:
- NEO4J_dbms_memory_pagecache_size=${NEO_RAM}
- NEO4J_AUTH=${NEO_USER}/${NEO_PW}
- NEO4J_dbms_security_procedures_unrestricted=algo.*,apoc.*
- NEO4J_apoc_export_file_enabled=true
- NEO4J_apoc_import_file_enabled=true
- NEO4J_dbms_shell_enabled=true
volumes:
- neo_data:/data
solr:
container_name: birdspider_solr
image: solr:alpine
ports:
- "8983:8983"
volumes:
- solr_data:/opt/solr/server/solr/mycores
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- birdspider
redis:
container_name: birdspider_redis
image: redis
volumes:
- redis_data:/data
ports:
- "6379:6379"
birdspider:
build: .
depends_on:
- neo4j
- solr
- redis
environment:
- CONSUMER_KEY=${CONSUMER_KEY}
- CONSUMER_SECRET=${CONSUMER_SECRET}
- OAUTH_TOKEN=${OAUTH_TOKEN}
- OAUTH_TOKEN_SECRET=${OAUTH_TOKEN_SECRET}
- ACCESS_TOKEN=${ACCESS_TOKEN}
- NEO_HOST=${NEO_HOST}
- NEO_USER=${NEO_USER}
- NEO_PW=${NEO_PW}
- REDIS_HOST=redis
volumes:
neo_data:
solr_data:
redis_data: