Skip to content

Commit

Permalink
Merge pull request #16 from withoutabc/main
Browse files Browse the repository at this point in the history
(doc) update docker-compose.yaml
  • Loading branch information
ViolaPioggia authored Sep 6, 2023
2 parents 42dae6e + 24b8316 commit d52b05b
Showing 1 changed file with 52 additions and 1 deletion.
53 changes: 52 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,55 @@ services:
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
ports:
- "3000:3000"
- "3000:3000"

elasticsearch:
image: elasticsearch:7.13.1
container_name: elasticsearch
volumes:
- "./elasticsearch_data:/bitnami/elasticsearch"
ports:
- "9200:9200"
- "9300:9300"
environment:
- TZ=Asia/Shanghai
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
privileged: true
ulimits:
nofile:
soft: 65536
hard: 65536
networks:
- elk
kibana:
image: kibana:7.13.1
container_name: kibana
environment:
- elasticsearch.hosts=http://elasticsearch:9200
- TZ=Asia/Shanghai
restart: always
ports:
- "5601:5601"
volumes:
- "./kibana_data:/bitnami/kibana"
depends_on:
- elasticsearch
networks:
- elk
logstash:
image: docker.elastic.co/logstash/logstash:7.13.1
container_name: logstash
volumes:
- "./logstash.conf:/usr/share/logstash/pipeline/logstash.conf"
- "/home/elk/log.log:/home/elk/log.log"
environment:
- "XPACK_MONITORING_ENABLED=false"
- TZ=Asia/Shanghai
depends_on:
- elasticsearch
networks:
- elk
networks:
elk:
external: true

0 comments on commit d52b05b

Please sign in to comment.