-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
103 lines (97 loc) · 2.05 KB
/
docker-compose.yaml
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
version: '2'
services:
api:
build: ./ewetasker
container_name: api
ports:
- "5050:5000"
networks:
- ewetasker
environment:
- ES_ENDPOINT=elasticsearch
- ES_ENDPOINT_PORT=9200
- SPARQL_URL=fuseki:3030/ewetasker
- MONGODB_URL=mongo:27017
- EYE_URL=eye:8000
- TWITTER_TOKEN=token
- TWITTER_SECRET=secret
- GMAIL_CLIENT_ID=token
- GMAIL_CLIENT_SECRET=secret
- API_REDIRECT_URI=api
- SPOTIFY_CLIENT_ID=id
- SPOTIFY_CLIENT_SECRET=secret
- EWE_PEM=ewetasker.pem
depends_on:
- fuseki
- mongo
- elasticsearch
fuseki:
image: stain/jena-fuseki
container_name: fuseki
ports:
- "3030:3030"
volumes:
- fuseki:/fuseki
environment:
- ADMIN_PASSWORD="ewefuseki"
networks:
- ewetasker
mongo:
image: mongo:latest
container_name: ewemongodb
ports:
- "27017:27017"
volumes:
- ./mongodb:/data/db
environment:
- MONGODB_USER="ewemongo"
- MONGODB_PASS="gsimongodb2018"
networks:
- ewetasker
eye:
image: bdevloed/eyeserver
container_name: eye
ports:
- "4040:8000"
networks:
- ewetasker
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:5.5.2"
container_name: elasticsearch
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=*'
volumes:
- esdata:/usr/share/elasticsearch/data/
ports:
- 19200:9200
- 19300:9300
networks:
- ewetasker
crossbar:
build: ./ewe-crossbar
container_name: crossbar
environment:
- API=api:5000
ports:
- "8081:8081"
- "8082:8082"
- "1883:1883"
depends_on:
- api
networks:
- ewetasker
networks:
ewetasker:
driver: bridge
volumes:
fuseki:
esdata: