-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (57 loc) · 1.4 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.1"
services:
elasticsearch:
image: 'elasticsearch:7.6.1'
#deployment_strategy: every_node
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9200"]
interval: 10s
timeout: 10s
retries: 60
ports:
- '9200:9200'
- '9300:9300'
ulimits:
memlock:
soft: -1
hard: -1
environment:
- bootstrap.memory_lock=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- cluster.initial_master_nodes=elasticsearch
- node.master=true
- discovery.zen.minimum_master_nodes=1
- node.name=elasticsearch
app:
image: mysciencework/polarisos:1.0.3
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 10s
timeout: 10s
retries: 60
depends_on:
elasticsearch:
condition: service_healthy
volumes:
- ./app:/tmp
ports:
- "8080:5556"
entrypoint: "bash -c 'chmod +x /tmp/start-app.sh; /tmp/start-app.sh'"
bootstrap:
image: mysciencework/polarisos-bootstrap:0.3
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 10s
timeout: 10s
retries: 60
depends_on:
elasticsearch:
condition: service_healthy
app:
condition: service_healthy
minio:
image: minio/minio:RELEASE.2020-04-15T19-42-18Z
command: [ "server","/data" ]
environment:
MINIO_ACCESS_KEY: D6WATDX0QDZ1I61CACYZ
MINIO_SECRET_KEY: NdD50gVGH40OeK2s+W3kPnF+qU9DntxO2HwDT2luoC