poststartup script moved to extra container, non init
This commit is contained in:
parent
30cf1c8fe3
commit
6237d34ab8
@ -194,7 +194,7 @@ extraContainers:
|
|||||||
name="${idx%%:*}"
|
name="${idx%%:*}"
|
||||||
path="${idx##*:}"
|
path="${idx##*:}"
|
||||||
echo "[template-loader] Applying template: $name from $path..."
|
echo "[template-loader] Applying template: $name from $path..."
|
||||||
curl -X PUT "$ES_URL/_index_template/$name" \
|
curl -X PUT "$ES_URL/$name" \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
--data-binary @"$path"
|
--data-binary @"$path"
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user