Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pruebas #4

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 3 additions & 30 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,39 +53,13 @@ services:
max_attempts: 3
window: 120s
volumes:
- esdata2:/usr/share/elasticsearch/data
elasticsearch3:
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.0
container_name: elasticsearch3
environment:
- node.name=es03
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "discovery.zen.ping.unicast.hosts=elasticsearch"
ulimits:
nproc: 65535
memlock:
soft: -1
hard: -1
cap_add:
- ALL
privileged: true
deploy:
mode: global
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
volumes:
- esdata3:/usr/share/elasticsearch/data
- esdata2:/usr/share/elasticsearch/data
kibana:
image: docker.elastic.co/kibana/kibana-oss:6.5.0
container_name: kibana
environment:
SERVER_NAME: localhost
ELASTICSEARCH_URL: http://elasticsearch:9200/
ELASTICSEARCH_URL: http://localhost:9200/
ports:
- 5601:5601
ulimits:
Expand Down Expand Up @@ -113,5 +87,4 @@ services:
nproc: 65535
volumes:
esdata1:
esdata2:
esdata3:
esdata2:
4 changes: 2 additions & 2 deletions nginx-config/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
upstream kibana {
server kibana:5601;
server localhost:5601;
}

server {
listen 80;
location / {
proxy_pass http://kibana;
proxy_pass http://localhost;
proxy_redirect off;
}
}