fix: es setup

This commit is contained in:
lijunwen.gigoo 2025-07-25 18:19:03 +08:00
parent c995168294
commit c03ecb8d7e
1 changed files with 3 additions and 0 deletions

View File

@ -414,6 +414,9 @@ services:
container_name: coze-elasticsearch-setup container_name: coze-elasticsearch-setup
profiles: ['middleware', 'volcano-setup'] profiles: ['middleware', 'volcano-setup']
env_file: *env_file env_file: *env_file
depends_on:
elasticsearch:
condition: service_healthy
volumes: volumes:
- ./volumes/elasticsearch/setup_es.sh:/setup_es.sh - ./volumes/elasticsearch/setup_es.sh:/setup_es.sh
- ./volumes/elasticsearch/es_index_schema:/es_index_schema - ./volumes/elasticsearch/es_index_schema:/es_index_schema