-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
67 lines (66 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
version: "2"
services:
mongo-standalone:
image: mongo:4.0
command: --replSet myDevReplSet
logging:
driver: none
mongo-replica-activator:
image: mongo:4.0
links:
- mongo-standalone
volumes:
- ./replica:/tmp/replica
command:
- /tmp/replica/activate-replica.sh
depends_on:
- mongo-standalone
logging:
driver: none
mongo-connector:
build:
context: ./connector
dockerfile: Dockerfile
links:
- es
- mongo-standalone
volumes:
- ../elastic7-doc-manager:/tmp/elastic7-doc-manager
- ./connector:/tmp/connector
depends_on:
- es
- mongo-standalone
- mongo-replica-activator
environment:
- PYTHONUNBUFFERED=1
es:
image: docker.elastic.co/elasticsearch/elasticsearch:7.3.1
ports:
- "9208:9200"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
mem_limit: 1g
cap_add:
- IPC_LOCK
logging:
driver: none
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- bootstrap.memory_lock=true
- ES_PUBLISH_HOST=_site_
- discovery.type=single-node
- LDAP_USERNAME=ldapservice
- LDAP_PASSWORD=NOT_SET
- MINIMUM_MASTER_NODES=1
- STACK_ID=NOT_SET
- xpack.security.enabled=false
- xpack.monitoring.enabled=false
- xpack.ml.enabled=false
- xpack.graph.enabled=false
- xpack.watcher.enabled=false
- cluster.routing.allocation.disk.threshold_enabled=false