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/12/10 08:36:27 UTC
[incubator-streampipes-installer] 02/02: Add timescaledb test
instance to cli
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
commit 3dac44ee431b73c3a899b99a5df1eeaa0ec33efe
Author: Patrick Wiener <wi...@fzi.de>
AuthorDate: Thu Dec 10 09:36:09 2020 +0100
Add timescaledb test instance to cli
---
.../standalone/timescaledb/docker-compose.dev.yml | 20 +++++++++++
.../standalone/timescaledb/docker-compose.yml | 39 ++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/cli/deploy/standalone/timescaledb/docker-compose.dev.yml b/cli/deploy/standalone/timescaledb/docker-compose.dev.yml
new file mode 100644
index 0000000..d483d1c
--- /dev/null
+++ b/cli/deploy/standalone/timescaledb/docker-compose.dev.yml
@@ -0,0 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+version: "3.4"
+services:
+ timescaledb:
+ ports:
+ - 5432:5432
diff --git a/cli/deploy/standalone/timescaledb/docker-compose.yml b/cli/deploy/standalone/timescaledb/docker-compose.yml
new file mode 100644
index 0000000..7e51e69
--- /dev/null
+++ b/cli/deploy/standalone/timescaledb/docker-compose.yml
@@ -0,0 +1,39 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+version: "3.4"
+services:
+ timescaledb:
+ image: timescale/timescaledb:1.7.4-pg12
+ ports:
+ - "5432:5432"
+ volumes:
+ - timescaledb:/var/lib/postgresql/data
+ environment:
+ POSTGRES_PASSWORD: timescalepw
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "1m"
+ max-file: "1"
+ networks:
+ spnet:
+
+volumes:
+ timescaledb:
+
+networks:
+ spnet:
+ external: true