You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2020/05/13 04:29:07 UTC

[incubator-streampipes-installer] branch dev updated: [STREAMPIPES-124] Add docker-compose file for Redis

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

zehnder 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 56afe53  [STREAMPIPES-124] Add docker-compose file for Redis
     new f3d2c17  Merge pull request #6 from grainier/STREAMPIPES-124
56afe53 is described below

commit 56afe53849ff821b96f380fd5524177b73f91d64
Author: Grainier <gr...@wso2.com>
AuthorDate: Wed May 13 08:25:39 2020 +0530

    [STREAMPIPES-124] Add docker-compose file for Redis
---
 .../services/redis/docker-compose.yml              | 39 ++++++++++++----------
 helm-chart/values.yaml                             |  1 +
 2 files changed, 23 insertions(+), 17 deletions(-)

diff --git a/helm-chart/values.yaml b/cli/services/redis/docker-compose.yml
similarity index 63%
copy from helm-chart/values.yaml
copy to cli/services/redis/docker-compose.yml
index 15916f9..6d5b16e 100644
--- a/helm-chart/values.yaml
+++ b/cli/services/redis/docker-compose.yml
@@ -13,22 +13,27 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# lite or full (default: lite)
-deployment: lite
-pullPolicy: "Always"
+version: "2.0"
+services:
+  redis:
+    image: redis
+    environment:
+      # ALLOW_EMPTY_PASSWORD is recommended only for development.
+      - ALLOW_EMPTY_PASSWORD=yes
+    ports:
+      - 6379:6379
+    volumes:
+      - redis:/data/
+    entrypoint: redis-server --appendonly yes
+    restart: always
+    extra_hosts:
+      - host.docker.internal:${HOST_DOCKER_INTERNAL}
+    networks:
+      spnet:
 
-streampipes:
-  version: "0.67.0-SNAPSHOT"
-  registry: "apachestreampipes"
+volumes:
+  redis:
 
-external:
-  activemqVersion: 5.15.9
-  consulVersion: 1.7.1
-  couchdbVersion: 2.3.1
-  flinkVersion: 1.9.1-scala_2.11
-  kafkaVersion: 2.2.0
-  zookeeperVersion: 3.4.13
-  influxdbVersion: 1.7
-  iotdbVersion: latest
-  kibanaVersion: 6.2.3
-  elasticsearchVersion: 6.2.3
+networks:
+  spnet:
+    external: true
diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml
index 15916f9..d7e992e 100644
--- a/helm-chart/values.yaml
+++ b/helm-chart/values.yaml
@@ -32,3 +32,4 @@ external:
   iotdbVersion: latest
   kibanaVersion: 6.2.3
   elasticsearchVersion: 6.2.3
+  redisVersion: latest