Created
August 4, 2020 08:28
-
-
Save cguldogan/1985baa546661f75b615ec5d192689ba to your computer and use it in GitHub Desktop.
secure elasticsearch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.4' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.8.1 | |
container_name: elasticsearch | |
environment: | |
- "discovery.type=single-node" | |
- xpack.security.enabled=true | |
ports: | |
- 32700:9200 | |
- 32701:9300 | |
networks: | |
- elastic | |
kibana: | |
image: docker.elastic.co/kibana/kibana:7.8.1 | |
container_name: kibana | |
environment: | |
- ELASTICSEARCH_URL="http://elasticsearch:9200" | |
- xpack.security.enabled=true | |
links: | |
- elasticsearch | |
ports: | |
- 5601:5601 | |
networks: | |
- elastic | |
depends_on: | |
- elasticsearch | |
networks: | |
elastic: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment