-
Notifications
You must be signed in to change notification settings - Fork 115
/
docker-compose.yml
95 lines (89 loc) · 2.59 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
version: '3.9'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${VERSION}
container_name: elasticsearch
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- ES_JAVA_OPTS=-Xms2g -Xmx2g
- ELASTIC_PASSWORD=changeme
- xpack.security.enabled=true
- xpack.security.authc.api_key.enabled=true
- discovery.type=single-node
- action.destructive_requires_name=false
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esdata:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- esnet
kibana:
image: docker.elastic.co/kibana/kibana:${VERSION}
ports:
- 5601:5601
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
- "elasticsearch"
profiles:
- "enterprise-search"
environment:
ELASTICSEARCH_URL: http://host.docker.internal:9200
ELASTICSEARCH_HOSTS: http://host.docker.internal:9200
ENTERPRISESEARCH_HOST: http://host.docker.internal:3002
ELASTICSEARCH_USERNAME: kibana_system
ELASTICSEARCH_PASSWORD: changeme
networks:
- esnet
enterprise_search:
image: docker.elastic.co/enterprise-search/enterprise-search:${VERSION}
profiles:
- "enterprise-search"
depends_on:
- "elasticsearch"
environment:
- ENT_SEARCH_DEFAULT_PASSWORD=changeme
- elasticsearch.username=elastic
- elasticsearch.password=changeme
- elasticsearch.host=http://host.docker.internal:9200
- allow_es_settings_modification=true
- kibana.host=http://host.docker.internal:5601
- kibana.external_url=http://localhost:5601
- secret_management.encryption_keys=["4a2cd3f81d39bf28738c10db0ca782095ffac07279561809eecc722e0c20eb09"]
- JAVA_OPTS=-Xms2g -Xmx2g
- email.account.enabled=true
- email.account.smtp.auth=plain
- email.account.smtp.starttls.enable=false
- email.account.smtp.host=host.docker.internal
- email.account.smtp.port=1025
- email.account.email_defaults.from=local@example.com
- DEBUG=true
ports:
- 3002:3002
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- esnet
salesforce:
build:
context: ../../../../
dockerfile: ${DOCKERFILE_FTEST_PATH}
command: bin/python tests/sources/fixtures/salesforce/fixture.py
ports:
- "10338:10338"
volumes:
- .:/python-flask
restart: always
environment:
- DATA_SIZE=${DATA_SIZE}
volumes:
esdata:
driver: local
networks:
esnet:
driver: bridge