-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
122 lines (112 loc) · 2.78 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
version: '2'
services:
gsicrawler:
build: ./gsicrawler
ports:
- "5555:5555"
- "5000:5000"
networks:
- soneti
depends_on:
- redis
- elasticsearch
environment:
- GSICRAWLER_BROKER=redis://redis:6379/
- GSICRAWLER_RESULT_BACKEND=redis://redis:6379/
# - ES_HOST=${ES_ENDPOINT-elasticsearch}
# - ES_PORT=${ES_PORT-9200}
# - FUSEKI_ENDPOINT=${FUSEKI_ENDPOINT}
# - FUSEKI_PORT=${FUSEKI_PORT}
# - FUSEKI_ENDPOINT_EXTERNAL=${FUSEKI_ENDPOINT_EXTERNAL}
- TWITTER_CONSUMER_KEY=${TWITTER_CONSUMER_KEY}
- TWITTER_CONSUMER_SECRET=${TWITTER_CONSUMER_SECRET}
- TWITTER_ACCESS_TOKEN=${TWITTER_ACCESS_TOKEN}
- TWITTER_ACCESS_TOKEN_SECRET=${TWITTER_ACCESS_TOKEN_SECRET}
orchestrator:
build: .
volumes:
- .:/usr/src/app
ports:
- "8082:8082"
networks:
- soneti
environment:
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
- GSICRAWLER_URL=${GSICRAWLER_URL}
- SENPY_URL=${SENPY_URL}
- FUSEKI_URL=${FUSEKI_URL}
- FUSEKI_PORT=${FUSEKI_PORT}
- ES_URL=${ES_URL}
- ES_PORT=${ES_PORT}
fuseki:
image: stain/jena-fuseki
ports:
- "3030:3030"
volumes:
- ./fuseki:/fuseki
environment:
- ADMIN_PASSWORD=fusekisoneti
networks:
- soneti
senpy:
image: gsiupm/senpy
command: --plugins-folder /plugins
ports:
- "8000:5000"
networks:
- soneti
volumes:
- ./senpy-plugins:/plugins
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:7.12.0"
ulimits:
memlock:
soft: -1
hard: -1
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "xpack.security.enabled=false"
- "http.cors.enabled=true"
- 'http.cors.allow-origin=*'
- discovery.type=single-node
- "xpack.ml.enabled=false"
volumes:
- esdata:/usr/share/elasticsearch/data/
ports:
- 9200:9200
- 9300:9300
networks:
- soneti
- elastic-kibana
kibana:
image: docker.elastic.co/kibana/kibana:7.12.0
# command: sh -c './bin/kibana-plugin install file:///usr/share/kibana/plugins/kibana-dashboard-custom-css.zip && exec /usr/local/bin/kibana-docker'
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200
networks:
- elastic-kibana
# volumes:
# - /tmp:/usr/share/kibana/plugins
redis:
image: redis
networks:
- soneti
# react:
# container_name: react
# build:
# context: ./participation-react-client
# ports:
# - '1337:80'
# networks:
# - soneti
networks:
soneti:
driver: bridge
elastic-kibana:
driver: bridge
volumes:
esdata: