Skip to content

Commit ae645e5

Browse files
authored
refactor(infra): es_index_schemas => es_index_schema (coze-dev#808)
1 parent 1527de4 commit ae645e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docker/docker-compose-debug.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ services:
201201
- ./volumes/elasticsearch/elasticsearch.yml:/opt/bitnami/elasticsearch/config/my_elasticsearch.yml
202202
- ./volumes/elasticsearch/analysis-smartcn.zip:/opt/bitnami/elasticsearch/analysis-smartcn.zip:rw,Z
203203
- ./volumes/elasticsearch/setup_es.sh:/setup_es.sh
204-
- ./volumes/elasticsearch/es_index_schema:/es_index_schemas
204+
- ./volumes/elasticsearch/es_index_schema:/es_index_schema
205205
healthcheck:
206206
test:
207207
[
@@ -259,7 +259,7 @@ services:
259259
echo 'Running Elasticsearch initialization...'
260260
sed 's/\r$$//' /setup_es.sh > /setup_es_fixed.sh
261261
chmod +x /setup_es_fixed.sh
262-
/setup_es_fixed.sh --index-dir /es_index_schemas
262+
/setup_es_fixed.sh --index-dir /es_index_schema
263263
# Create marker file indicating initialization completion
264264
touch /tmp/es_init_complete
265265
echo 'Elasticsearch initialization completed successfully!'

docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ services:
9090
- ./volumes/elasticsearch/elasticsearch.yml:/opt/bitnami/elasticsearch/config/my_elasticsearch.yml
9191
- ./volumes/elasticsearch/analysis-smartcn.zip:/opt/bitnami/elasticsearch/analysis-smartcn.zip:rw,Z
9292
- ./volumes/elasticsearch/setup_es.sh:/setup_es.sh
93-
- ./volumes/elasticsearch/es_index_schema:/es_index_schemas
93+
- ./volumes/elasticsearch/es_index_schema:/es_index_schema
9494
healthcheck:
9595
test:
9696
[
@@ -148,7 +148,7 @@ services:
148148
echo 'Running Elasticsearch initialization...'
149149
sed 's/\r$$//' /setup_es.sh > /setup_es_fixed.sh
150150
chmod +x /setup_es_fixed.sh
151-
/setup_es_fixed.sh --index-dir /es_index_schemas
151+
/setup_es_fixed.sh --index-dir /es_index_schema
152152
# Create marker file indicating initialization completion
153153
touch /tmp/es_init_complete
154154
echo 'Elasticsearch initialization completed successfully!'

0 commit comments

Comments
 (0)