You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by wi...@apache.org on 2020/08/14 14:06:00 UTC

[incubator-streampipes-installer] branch dev updated: [hotfix] revert changes to consul

This is an automated email from the ASF dual-hosted git repository.

wiener pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-installer.git


The following commit(s) were added to refs/heads/dev by this push:
     new 1f5e775  [hotfix] revert changes to consul
1f5e775 is described below

commit 1f5e775497b06894c640fa65b253611d5eed0ab8
Author: Patrick Wiener <wi...@fzi.de>
AuthorDate: Fri Aug 14 16:05:50 2020 +0200

    [hotfix] revert changes to consul
---
 cli/services/consul/docker-compose.yml      | 11 +++++++++++
 installer/templates/docker-compose.full.yml | 11 +++++++++++
 installer/templates/docker-compose.lite.yml | 11 +++++++++++
 3 files changed, 33 insertions(+)

diff --git a/cli/services/consul/docker-compose.yml b/cli/services/consul/docker-compose.yml
index a2f6e28..7f12997 100644
--- a/cli/services/consul/docker-compose.yml
+++ b/cli/services/consul/docker-compose.yml
@@ -21,6 +21,17 @@ services:
       - "CONSUL_LOCAL_CONFIG={\"disable_update_check\": true}"
       - "CONSUL_BIND_INTERFACE=eth0"
       - "CONSUL_HTTP_ADDR=0.0.0.0"
+    entrypoint:
+      - consul
+      - agent
+      - -server
+      - -bootstrap-expect=1
+      - -data-dir=/consul/data
+      - -node=consul-one
+      - -bind={{ GetInterfaceIP "eth0" }}
+      - -client=0.0.0.0
+      - -enable-script-checks=true
+      - -ui      
     volumes:
       - consul:/consul/data
     extra_hosts:
diff --git a/installer/templates/docker-compose.full.yml b/installer/templates/docker-compose.full.yml
index 7178629..72ab20e 100644
--- a/installer/templates/docker-compose.full.yml
+++ b/installer/templates/docker-compose.full.yml
@@ -40,6 +40,17 @@ services:
       - "CONSUL_LOCAL_CONFIG={\"disable_update_check\": true}"
       - "CONSUL_BIND_INTERFACE=eth0"
       - "CONSUL_HTTP_ADDR=0.0.0.0"
+    entrypoint:
+      - consul
+      - agent
+      - -server
+      - -bootstrap-expect=1
+      - -data-dir=/consul/data
+      - -node=consul-one
+      - -bind={{ GetInterfaceIP "eth0" }}
+      - -client=0.0.0.0
+      - -enable-script-checks=true
+      - -ui    
     volumes:
       - consul:/consul/data
 #    ports:
diff --git a/installer/templates/docker-compose.lite.yml b/installer/templates/docker-compose.lite.yml
index 7c026c4..1454996 100644
--- a/installer/templates/docker-compose.lite.yml
+++ b/installer/templates/docker-compose.lite.yml
@@ -40,6 +40,17 @@ services:
       - "CONSUL_LOCAL_CONFIG={\"disable_update_check\": true}"
       - "CONSUL_BIND_INTERFACE=eth0"
       - "CONSUL_HTTP_ADDR=0.0.0.0"
+    entrypoint:
+      - consul
+      - agent
+      - -server
+      - -bootstrap-expect=1
+      - -data-dir=/consul/data
+      - -node=consul-one
+      - -bind={{ GetInterfaceIP "eth0" }}
+      - -client=0.0.0.0
+      - -enable-script-checks=true
+      - -ui      
     volumes:
       - consul:/consul/data
     logging: