-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
37 lines (34 loc) · 1.02 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
version: "3"
# Test compose file for building a stachebox stack
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.6.2
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
environment:
- ES_JAVA_OPTS=-Xms2g -Xmx2g
- http.host=0.0.0.0
- transport.host=127.0.0.1
- discovery.type=single-node
- bootstrap.memory_lock=true
- http.max_content_length=1024mb
- xpack.security.enabled=true
- ELASTIC_PASSWORD=5t4ch380x!
ports:
- "9200:9200"
- "9300:9300"
stachebox:
image: ortussolutions/stachebox:latest
ports:
- "61686:8080"
environment:
ENVIRONMENT: production
ELASTICSEARCH_HOST: elasticsearch
ELASTICSEARCH_USERNAME: elastic
ELASTICSEARCH_PASSWORD: "5t4ch380x!"
STACHEBOX_ADMIN_EMAIL: stachebox@ortussolutions.com
STACHEBOX_ADMIN_PASSWORD: "5t4ch380x!"
HEALTHCHECK_URI: http://127.0.0.1:8080/?healthcheck=true
restart: on-failure:5
volumes:
elasticsearch-data: