-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (66 loc) · 1.95 KB
/
Copy pathdocker-compose.yml
File metadata and controls
72 lines (66 loc) · 1.95 KB
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
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
# - http.cors.enabled=true
- http.port=9200
- http.cors.enabled=true
- http.cors.allow-origin=http://localhost:1358,http://192.168.0.134:1358
- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
- http.cors.allow-credentials=true
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- esdata1:/usr/share/elasticsearch/data
ports:
- 9200:9200
web:
environment:
- FLASK=app.py
- FLASK_ENV=development
build: .
ports:
- "5000:5000"
volumes:
- .:/app
- /home/prasad/tumblr:/media
depends_on:
- "elasticsearch"
kibana:
image: docker.elastic.co/kibana/kibana:6.6.0
ports:
- "5601:5601"
environment:
# - SERVER_NAME=kibana.tumblr.org
# - ELASTICSEARCH_HOSTS=["http://elasticsearch"]
SERVER_NAME: kibana.example.org
ELASTICSEARCH_HOSTS: '["http://elasticsearch"]'
depends_on:
- "elasticsearch"
# kibano:
# image: docker.elastic.co/kibana/kibana:8.2.0
# ports:
# - "5602:5602"
# environment:
# # - SERVER_NAME=kibana2.tumblr.org
# # - ELASTICSEARCH_HOSTS="http://localhost","http://elasticsearch"
# SERVER_NAME: kibana.example.org
# ELASTICSEARCH_HOSTS: '["http://es01:9200","http://es02:9200","http://es03:9200"]'
# depends_on:
# - "elasticsearch"
# # elasticsearch browser
dejavu:
image: appbaseio/dejavu:3.0.0-alpha
container_name: dejavu
ports:
- "1358:1358"
depends_on:
- "elasticsearch"
volumes:
esdata1: