mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Add Kibana component for Elasticsearch (#1710)
### What problem does this PR solve? Add Kibana component for Elasticsearch ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue) - [x] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: Theta Wang (ncu) <chunshan.connect@gmail.com>
This commit is contained in:
33
docker/docker-compose-admin-tool.yml
Normal file
33
docker/docker-compose-admin-tool.yml
Normal file
@ -0,0 +1,33 @@
|
||||
services:
|
||||
kibana:
|
||||
image: kibana:${STACK_VERSION}
|
||||
container_name: ragflow-kibana
|
||||
environment:
|
||||
ELASTICSEARCH_USERNAME: ${KIBANA_USER}
|
||||
ELASTICSEARCH_PASSWORD: ${KIBANA_PASSWORD}
|
||||
ELASTICSEARCH_HOSTS: "http://es01:9200"
|
||||
ports:
|
||||
- ${KIBANA_PORT}:5601
|
||||
depends_on:
|
||||
es01:
|
||||
condition: service_healthy
|
||||
kibana-user-init:
|
||||
condition: service_completed_successfully
|
||||
|
||||
networks:
|
||||
- ragflow
|
||||
kibana-user-init:
|
||||
image: appropriate/curl
|
||||
depends_on:
|
||||
es01:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- ./init-kibana.sh:/app/init-kibana.sh
|
||||
environment:
|
||||
- ELASTIC_PASSWORD=${ELASTIC_PASSWORD}
|
||||
- KIBANA_USER=${KIBANA_USER}
|
||||
- KIBANA_PASSWORD=${KIBANA_PASSWORD}
|
||||
command: /bin/sh -c "sh /app/init-kibana.sh"
|
||||
networks:
|
||||
- ragflow
|
||||
restart: 'no'
|
||||
Reference in New Issue
Block a user