-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
74 lines (68 loc) · 1.52 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
version: "3.7"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.8.12
ports:
- 9200:9200
- 9300:9300
environment:
- "discovery.type=single-node"
- "cluster.name=personium-cluster"
- "network.host=0.0.0.0"
- "action.auto_create_index=.watches,.triggered_watches,.watcher-history-*"
- "http.cors.enabled=true"
- "http.cors.allow-origin=*"
- "indices.fielddata.cache.size=80%"
volumes:
- esdata:/usr/share/elasticsearch/data
networks:
- backend
healthcheck:
test: ["CMD-SHELL", "curl --fail localhost:9200/_cat/health?h=status | grep green || exit 1"]
interval: 30s
timeout: 30s
retries: 10
activemq:
image: rmohr/activemq:5.15.9
ports:
- 61616:61616
- 8161:8161
networks:
- mq
healthcheck:
test: ["CMD-SHELL", "curl --silent --fail localhost:8161 || exit 1"]
interval: 30s
timeout: 30s
retries: 10
personium:
build: personium
ports:
- 8080:8080
networks:
- frontend
- mq
- backend
depends_on:
- elasticsearch
- activemq
healthcheck:
test: ["CMD-SHELL", "curl --silent --fail localhost:8080/personium-core || exit 1"]
interval: 30s
timeout: 30s
retries: 10
nginx:
build: nginx
ports:
- 443:443
- 80:80
networks:
- frontend
depends_on:
- personium
volumes:
esdata:
driver: local
networks:
frontend:
mq:
backend: