possibility of switching to generic ES-cluster if exist
when SL service defined, default OSS-ElasticSearch cluster turned off
and switched to SL Elasticsearch to avoid duplicating
related us: https://mirantis.jira.com/browse/PROD-14954
Change-Id: I32f2d982179a0f661f23edaaf672f035a16f0160
diff --git a/docker/swarm/stack/pushkin.yml b/docker/swarm/stack/pushkin.yml
index 892b4f9..3df931b 100644
--- a/docker/swarm/stack/pushkin.yml
+++ b/docker/swarm/stack/pushkin.yml
@@ -4,6 +4,7 @@
docker_image_pushkin: docker-prod-local.artifactory.mirantis.com/mirantis/oss/pushkin
pushkin_bind_host: pushkin-api
pushkin_bind_port: ${_param:haproxy_pushkin_bind_port}
+ pushkin_elasticsearch: ${_param:elasticsearch_bind_host}
pushkin_ssl:
enabled: false
pushkin_db: pushkin
@@ -24,7 +25,7 @@
POSTGRES_PASSWORD: ${_param:pushkin_db_user_password}
POSTGRES_DB: ${_param:pushkin_db}
PUSHKINDBHOST: ${_param:postgresql_bind_host}
- PUSHKINELASTICHOST: ${_param:elasticsearch_bind_host}
+ PUSHKINELASTICHOST: ${_param:pushkin_elasticsearch}
WEBHOOK_FROM: ${_param:webhook_from}
EMAIL_SENDER_PASSWORD: ${_param:pushkin_email_sender_password}
SMTP_HOST: ${_param:pushkin_smtp_host}