You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by mi...@apache.org on 2020/05/30 17:10:22 UTC

[incubator-streampipes-installer] branch dev updated: Add PostGIS Service

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

micklich 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 698e122  Add PostGIS Service
698e122 is described below

commit 698e1221eb4841ccb39ad097a7a086a10189827a
Author: micklich <fl...@disy.net>
AuthorDate: Sat May 30 19:10:04 2020 +0200

    Add PostGIS Service
---
 cli/services/postgis/docker-compose.yml | 42 +++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/cli/services/postgis/docker-compose.yml b/cli/services/postgis/docker-compose.yml
new file mode 100644
index 0000000..e195952
--- /dev/null
+++ b/cli/services/postgis/docker-compose.yml
@@ -0,0 +1,42 @@
+# 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: "2.0"
+services:
+  postgis:
+    image: postgis/postgis
+    volumes:
+      - postgis:/var/lib/postgresql/data
+    ports:
+      - 54321:5432
+    environment:
+       POSTGRES_USER: geo_streampipes
+       POSTGRES_PASSWORD: bQgu"FUR_VH6z>~j
+    extra_hosts:
+      - host.docker.internal:${HOST_DOCKER_INTERNAL}
+    logging:
+      driver: "json-file"
+      options:
+        max-size: "1m"
+        max-file: "1"
+    networks:
+      spnet:
+
+volumes:
+  postgis:
+
+networks:
+  spnet:
+    external: true