forked from dokku/dokku-elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config
26 lines (25 loc) · 1.39 KB
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env bash
export ELASTICSEARCH_IMAGE=${ELASTICSEARCH_IMAGE:="elasticsearch"}
export ELASTICSEARCH_IMAGE_VERSION=${ELASTICSEARCH_IMAGE_VERSION:="6.8.5"}
export ELASTICSEARCH_ROOT=${ELASTICSEARCH_ROOT:="$DOKKU_LIB_ROOT/services/elasticsearch"}
export ELASTICSEARCH_HOST_ROOT=${ELASTICSEARCH_HOST_ROOT:=$ELASTICSEARCH_ROOT}
export PLUGIN_UNIMPLEMENTED_SUBCOMMANDS=("backup" "backup-auth" "backup-deauth" "backup-schedule" "backup-schedule-cat" "backup-set-encryption" "backup-unschedule" "backup-unset-encryption" "clone" "connect" "export" "import")
export PLUGIN_COMMAND_PREFIX="elasticsearch"
export PLUGIN_CONFIG_ROOT=${PLUGIN_CONFIG_ROOT:="$DOKKU_LIB_ROOT/config/$PLUGIN_COMMAND_PREFIX"}
export PLUGIN_DATA_ROOT=$ELASTICSEARCH_ROOT
export PLUGIN_DATA_HOST_ROOT=$ELASTICSEARCH_HOST_ROOT
export PLUGIN_DATASTORE_PORTS=(9200 9300)
export PLUGIN_DATASTORE_WAIT_PORT=9200
export PLUGIN_DEFAULT_ALIAS="ELASTICSEARCH"
export PLUGIN_DISABLE_PULL=${ELASTICSEARCH_DISABLE_PULL:=}
export PLUGIN_DISABLE_PULL_VARIABLE="ELASTICSEARCH_DISABLE_PULL"
export PLUGIN_ALT_ALIAS="DOKKU_ELASTICSEARCH"
export PLUGIN_IMAGE=$ELASTICSEARCH_IMAGE
export PLUGIN_IMAGE_VERSION=$ELASTICSEARCH_IMAGE_VERSION
export PLUGIN_SCHEME="http"
export PLUGIN_SERVICE="Elasticsearch"
export PLUGIN_VARIABLE="ELASTICSEARCH"
export PLUGIN_BASE_PATH="$PLUGIN_PATH"
if [[ -n $DOKKU_API_VERSION ]]; then
export PLUGIN_BASE_PATH="$PLUGIN_ENABLED_PATH"
fi