ai_pipeline/docker-compose.yml

29 lines
790 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

networks:
ai-pipeline:
driver: bridge
volumes:
es-data:
qdrant-storage:
services:
elasticsearch:
image: es-ik:8.4.1
container_name: elasticsearch
# user: "1000:1000"
environment:
- discovery.type=single-node # 单节点模式
- xpack.security.enabled=true # 开启安全
- ELASTIC_PASSWORD=12345 # 设置密码
# - xpack.security.http.ssl.enabled=false # 关闭 HTTPS
# - ES_JAVA_OPTS=-Xms1g -Xmx1g # JVM 初始堆内存大小1GB最大堆内存大小1GB
# elasticvue 配置
- http.cors.enabled=true
- http.cors.allow-origin=http://localhost:8210
ports:
- "9210:9200"
volumes:
- es-data:/usr/share/elasticsearch/data
restart: unless-stopped
networks:
- ai-pipeline