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 2023/01/05 21:14:23 UTC

[streampipes] 01/07: [STREAMPIPES-584] Add compose files and dummy scripts

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

micklich pushed a commit to branch SP-584
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit fea8d1c706469827a7c989db115e849211ecb112
Author: micklich <mi...@apache.org>
AuthorDate: Sun Jan 1 17:20:06 2023 +0100

    [STREAMPIPES-584] Add compose files and dummy scripts
---
 .../deploy/standalone/epsg/docker-compose.dev.yml  | 20 ++++++++++
 .../cli/deploy/standalone/epsg/docker-compose.yml  | 44 ++++++++++++++++++++++
 installer/scripts/epsg/EPSG_FINISH.sql             |  0
 installer/scripts/epsg/PostgreSQL_Data_Script.sql  |  0
 installer/scripts/epsg/PostgreSQL_FKey_Script.sql  |  0
 installer/scripts/epsg/PostgreSQL_Table_Script.sql |  0
 6 files changed, 64 insertions(+)

diff --git a/installer/cli/deploy/standalone/epsg/docker-compose.dev.yml b/installer/cli/deploy/standalone/epsg/docker-compose.dev.yml
new file mode 100644
index 000000000..fe011bf05
--- /dev/null
+++ b/installer/cli/deploy/standalone/epsg/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:
+  epsg:
+    ports:
+      - 54320:5432
diff --git a/installer/cli/deploy/standalone/epsg/docker-compose.yml b/installer/cli/deploy/standalone/epsg/docker-compose.yml
new file mode 100755
index 000000000..87823d3bb
--- /dev/null
+++ b/installer/cli/deploy/standalone/epsg/docker-compose.yml
@@ -0,0 +1,44 @@
+# 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:
+  epsg:
+    image: postgres:14.4-alpine
+    volumes:
+      - ./../../../../scripts/epsg/PostgreSQL_Table_Script.sql:/docker-entrypoint-initdb.d/01_PostgreSQL_Table_Script.sql
+      - ./../../../../scripts/epsg/PostgreSQL_Data_Script.sql:/docker-entrypoint-initdb.d/02_PostgreSQL_Data_Scr  ipt.sql
+      - ./../../../../scripts/epsg/PostgreSQL_FKey_Script.sql:/docker-entrypoint-initdb.d/03_PostgreSQL_FKey_Script.sql
+      - ./../../../../scripts/epsg/EPSG_FINISH.sql:/docker-entrypoint-initdb.d/04_EPSG_FINISH.sql
+      - epsg:/var/lib/postgresql/data
+    environment:
+       POSTGRES_DB: EPSG
+       POSTGRES_USER: streampipes
+       POSTGRES_PASSWORD: streampipes
+    logging:
+      driver: "json-file"
+      options:
+        max-size: "1m"
+        max-file: "1"
+    networks:
+      spnet:
+
+volumes:
+  epsg:
+
+networks:
+  spnet:
+    external: true
+
diff --git a/installer/scripts/epsg/EPSG_FINISH.sql b/installer/scripts/epsg/EPSG_FINISH.sql
new file mode 100644
index 000000000..e69de29bb
diff --git a/installer/scripts/epsg/PostgreSQL_Data_Script.sql b/installer/scripts/epsg/PostgreSQL_Data_Script.sql
new file mode 100644
index 000000000..e69de29bb
diff --git a/installer/scripts/epsg/PostgreSQL_FKey_Script.sql b/installer/scripts/epsg/PostgreSQL_FKey_Script.sql
new file mode 100644
index 000000000..e69de29bb
diff --git a/installer/scripts/epsg/PostgreSQL_Table_Script.sql b/installer/scripts/epsg/PostgreSQL_Table_Script.sql
new file mode 100644
index 000000000..e69de29bb