From 75d70543cec484a07bb711b4e5b2c7f46b478e72 Mon Sep 17 00:00:00 2001 From: Peter Olson <1303350-that0n3guy@users.noreply.gitlab.com> Date: Sat, 22 Mar 2025 09:13:05 -0500 Subject: [PATCH 1/8] added supabase extensions postgres variant --- stacks/postgresql-supabase-extensions.yaml | 69 ++++++++++++++++++++++ store.json | 14 ++++- 2 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 stacks/postgresql-supabase-extensions.yaml diff --git a/stacks/postgresql-supabase-extensions.yaml b/stacks/postgresql-supabase-extensions.yaml new file mode 100644 index 0000000..cdd8531 --- /dev/null +++ b/stacks/postgresql-supabase-extensions.yaml @@ -0,0 +1,69 @@ +services: + "{{STACK_NAME}}": + image: supabase/postgres:{{POSTGRESQL_VERSION}} + environment: + - "POSTGRESQL_DATABASE={{POSTGRESQL_DATABASE}}" + - "POSTGRESQL_USERNAME={{POSTGRESQL_USERNAME}}" + - "POSTGRESQL_PASSWORD={{POSTGRESQL_PASSWORD}}" + - "POSTGRESQL_TIMEZONE={{POSTGRESQL_TIMEZONE}}" + volumes: + - "{{POSTGRESQL_STORAGE}}:/var/lib/postgresql/data" + expose: + - "5432/tcp/PostgreSQL Endpoint" +docs: + logo_url: "https://raw.githubusercontent.com/swiftwave-org/app-store/main/assets/logos/postgresql.png" + name: "PostgreSQL-Supabase" + description: "PostgreSQL + goodies (Postgres) is an open source object-relational database known for reliability and data integrity" + readme_description: > + Postgres + goodies Unmodified Postgres with some useful plugins. Our goal with this repo is not to modify Postgres, but to provide some of the most common extensions with a one-click install. + View https://github.com/supabase/postgres for extensions available. + + ### What is PostgreSQL? + + PostgreSQL (Postgres) is an open source object-relational database known for reliability and data integrity. ACID-compliant, it supports foreign keys, joins, views, triggers and stored procedures. + + ### Note + + During the installation procedure, the Bitnami PostgreSQL image will be utilised. More information: [hub.docker.com/r/bitnami/postgresql](https://hub.docker.com/r/bitnami/postgresql) + + + ### Links + + - Official Wesbite - [www.postgresql.org](https://www.postgresql.org/) + + iframe_video_embed: "" + variables: + POSTGRESQL_VERSION: + title: "PostgreSQL Version" + description: "Choose the version as per requirement" + default: "15.6.1.113" + type: text + POSTGRESQL_DATABASE: + title: "PostgreSQL Database" + description: "Initial Database name" + default: "" + type: text + options: + POSTGRESQL_USERNAME: + title: "PostgreSQL Username" + description: "Username of postgresql user" + default: "" + type: text + options: + POSTGRESQL_PASSWORD: + title: "PostgreSQL Password" + description: "Password of postgresql user" + default: "" + type: text + options: + POSTGRESQL_TIMEZONE: + title: "PostgreSQL Timezone" + description: "Provide a valid timezone. Check postgresql.org/docs/7.2/timezones.html" + default: "UTC" + type: text + POSTGRESQL_STORAGE: + title: "PostgreSQL Data Storage" + description: "The data storage for PostgreSQL" + default: "" + type: volume + options: \ No newline at end of file diff --git a/store.json b/store.json index 3d42546..aa4a153 100644 --- a/store.json +++ b/store.json @@ -522,5 +522,17 @@ "stack": "https://raw.githubusercontent.com/swiftwave-org/app-store/main/stacks/yt-dlp-web-gui.yaml" } ] + }, + { + "logo": "https://raw.githubusercontent.com/swiftwave-org/app-store/main/assets/logos/yt-dlp-web-gui.png", + "title": "PostgreSQL - Supabase extentions", + "description": "Unmodified Postgres with some useful plugins.", + "category": "Database", + "stacks": [ + { + "title": "PostgreSQL - Supabase extentions", + "stack": "https://raw.githubusercontent.com/that0n3guy/app-store/main/stacks/postegres-supabase-extensions.yaml" + } + ] } -] +] \ No newline at end of file From 800890301cc00aef108d008f634af0b051a7e8fc Mon Sep 17 00:00:00 2001 From: Peter Olson <1303350-that0n3guy@users.noreply.gitlab.com> Date: Sat, 22 Mar 2025 09:15:25 -0500 Subject: [PATCH 2/8] for testing, modify url --- store.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store.json b/store.json index aa4a153..9f80f3d 100644 --- a/store.json +++ b/store.json @@ -531,7 +531,7 @@ "stacks": [ { "title": "PostgreSQL - Supabase extentions", - "stack": "https://raw.githubusercontent.com/that0n3guy/app-store/main/stacks/postegres-supabase-extensions.yaml" + "stack": "https://github.com/that0n3guy/app-store/blob/supabase-postgres/stacks/postgresql-supabase-extensions.yaml" } ] } From 08e786452f11d7bb499a9dce4a9820a6f9bd8f4a Mon Sep 17 00:00:00 2001 From: Peter Olson <1303350-that0n3guy@users.noreply.gitlab.com> Date: Sat, 22 Mar 2025 09:24:25 -0500 Subject: [PATCH 3/8] oops, diff vars for standard postgres image --- stacks/postgresql-supabase-extensions.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stacks/postgresql-supabase-extensions.yaml b/stacks/postgresql-supabase-extensions.yaml index cdd8531..7825ca5 100644 --- a/stacks/postgresql-supabase-extensions.yaml +++ b/stacks/postgresql-supabase-extensions.yaml @@ -2,10 +2,7 @@ services: "{{STACK_NAME}}": image: supabase/postgres:{{POSTGRESQL_VERSION}} environment: - - "POSTGRESQL_DATABASE={{POSTGRESQL_DATABASE}}" - - "POSTGRESQL_USERNAME={{POSTGRESQL_USERNAME}}" - - "POSTGRESQL_PASSWORD={{POSTGRESQL_PASSWORD}}" - - "POSTGRESQL_TIMEZONE={{POSTGRESQL_TIMEZONE}}" + - "POSTGRES_PASSWORD={{POSTGRESQL_PASSWORD}}" volumes: - "{{POSTGRESQL_STORAGE}}:/var/lib/postgresql/data" expose: From 5e05ca8e7fb31cf2c07e9c3c0130c5c9d3d27888 Mon Sep 17 00:00:00 2001 From: Peter Olson <1303350-that0n3guy@users.noreply.gitlab.com> Date: Sat, 22 Mar 2025 09:26:58 -0500 Subject: [PATCH 4/8] have to edit vars in multiple places --- stacks/postgresql-supabase-extensions.yaml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/stacks/postgresql-supabase-extensions.yaml b/stacks/postgresql-supabase-extensions.yaml index 7825ca5..735b4cd 100644 --- a/stacks/postgresql-supabase-extensions.yaml +++ b/stacks/postgresql-supabase-extensions.yaml @@ -35,29 +35,12 @@ docs: description: "Choose the version as per requirement" default: "15.6.1.113" type: text - POSTGRESQL_DATABASE: - title: "PostgreSQL Database" - description: "Initial Database name" - default: "" - type: text - options: - POSTGRESQL_USERNAME: - title: "PostgreSQL Username" - description: "Username of postgresql user" - default: "" - type: text - options: - POSTGRESQL_PASSWORD: + POSTGRES_PASSWORD: title: "PostgreSQL Password" description: "Password of postgresql user" default: "" type: text options: - POSTGRESQL_TIMEZONE: - title: "PostgreSQL Timezone" - description: "Provide a valid timezone. Check postgresql.org/docs/7.2/timezones.html" - default: "UTC" - type: text POSTGRESQL_STORAGE: title: "PostgreSQL Data Storage" description: "The data storage for PostgreSQL" From e7f0b1e694d538913b2ef67b5d1e30d54f5ee6e9 Mon Sep 17 00:00:00 2001 From: Peter Olson <1303350-that0n3guy@users.noreply.gitlab.com> Date: Sat, 22 Mar 2025 16:37:05 -0500 Subject: [PATCH 5/8] maybe got this right this time --- stacks/postgresql-supabase-extensions.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stacks/postgresql-supabase-extensions.yaml b/stacks/postgresql-supabase-extensions.yaml index 735b4cd..2e8ffb3 100644 --- a/stacks/postgresql-supabase-extensions.yaml +++ b/stacks/postgresql-supabase-extensions.yaml @@ -1,10 +1,10 @@ services: "{{STACK_NAME}}": - image: supabase/postgres:{{POSTGRESQL_VERSION}} + image: supabase/postgres:{{POSTGRES_VERSION}} environment: - - "POSTGRES_PASSWORD={{POSTGRESQL_PASSWORD}}" + - "POSTGRES_PASSWORD={{POSTGRES_PASSWORD}}" volumes: - - "{{POSTGRESQL_STORAGE}}:/var/lib/postgresql/data" + - "{{POSTGRES_STORAGE}}:/var/lib/postgresql/data" expose: - "5432/tcp/PostgreSQL Endpoint" docs: @@ -21,7 +21,7 @@ docs: ### Note - During the installation procedure, the Bitnami PostgreSQL image will be utilised. More information: [hub.docker.com/r/bitnami/postgresql](https://hub.docker.com/r/bitnami/postgresql) + During the installation procedure, the Supabase PostgreSQL image will be utilised. More information: [https://github.com/supabase/postgres](https://github.com/supabase/postgres) ### Links @@ -30,7 +30,7 @@ docs: iframe_video_embed: "" variables: - POSTGRESQL_VERSION: + POSTGRES_VERSION: title: "PostgreSQL Version" description: "Choose the version as per requirement" default: "15.6.1.113" @@ -41,7 +41,7 @@ docs: default: "" type: text options: - POSTGRESQL_STORAGE: + POSTGRES_STORAGE: title: "PostgreSQL Data Storage" description: "The data storage for PostgreSQL" default: "" From ce6abee2a4faa17740ea6e6cccc0776d89d45e11 Mon Sep 17 00:00:00 2001 From: Peter Olson <1303350-that0n3guy@users.noreply.gitlab.com> Date: Sat, 22 Mar 2025 22:03:08 -0500 Subject: [PATCH 6/8] added n8n w/ external postgres --- stacks/n8n-exterior-postgres.yaml | 82 +++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 stacks/n8n-exterior-postgres.yaml diff --git a/stacks/n8n-exterior-postgres.yaml b/stacks/n8n-exterior-postgres.yaml new file mode 100644 index 0000000..83e671b --- /dev/null +++ b/stacks/n8n-exterior-postgres.yaml @@ -0,0 +1,82 @@ +services: + "{{STACK_NAME}}": + image: docker.n8n.io/n8nio/n8n + environment: + - "N8N_HOST={{SERVICE_FQDN}}" + - "N8N_PORT=5678" + - "N8N_PROTOCOL={{SERVICE_PROTOCOL}}" + - "WEBHOOK_URL={{SERVICE_PROTOCOL}}://{{SERVICE_FQDN}}/" + - "GENERIC_TIMEZONE={{TIMEZONE}}" + - "TZ={{TIMEZONE}}" + - "DB_TYPE=postgresdb" + - "DB_POSTGRESDB_DATABASE={{POSTGRES_DB}}" + - "DB_POSTGRESDB_HOST={{POSTGRES_HOST}}" + - "DB_POSTGRESDB_PORT=5432" + - "DB_POSTGRESDB_USER={{POSTGRES_USER}}" + - "DB_POSTGRESDB_SCHEMA=public" + - "DB_POSTGRESDB_PASSWORD={{POSTGRES_PASSWORD}}" + volumes: + - "{{N8N_DATA}}:/home/node/.n8n" + expose: + - "5678/http/N8N Endpoint" + +docs: + logo_url: "https://n8n.io/images/n8n-logo.png" + name: "n8n" + description: "Workflow automation tool for connecting various services and APIs" + readme_description: > + ### What is n8n? + + n8n is a free and open fair-code licensed workflow automation tool that enables you to connect various services and APIs without writing any code. + + ### Links + + - Official Website - [n8n.io](https://n8n.io/) + - GitHub - [github.com/n8n-io/n8n](https://github.com/n8n-io/n8n) + iframe_video_embed: "" + variables: + SERVICE_PROTOCOL + title: "Service Protocol" + description: "http or https?" + default: "https" + type: options + options: + - title: "https" + value: "https" + - title: "http" + value: "http" + SERVICE_FQDN: + title: "Service FQDN" + description: "Fully Qualified Domain Name for n8n service. Ex: n8n.google.com" + default: "n8n.yourdomainname.com" + type: text + TIMEZONE: + title: "Timezone" + description: "Timezone for n8n service" + default: "America/Chicago" + type: text + POSTGRES_HOST: + title: "PostgreSQL Host" + description: "Address of external PostgreSQL server" + default: "" + type: text + POSTGRES_DB: + title: "PostgreSQL Database" + description: "Name of the PostgreSQL database" + default: "n8n" + type: text + POSTGRES_USER: + title: "PostgreSQL User" + description: "Username for PostgreSQL database" + default: "postgres" + type: text + POSTGRES_PASSWORD: + title: "PostgreSQL Password" + description: "Password for PostgreSQL database" + default: "" + type: text + N8N_DATA: + title: "n8n Data Storage" + description: "The data storage for n8n" + default: "" + type: volume \ No newline at end of file From 8b3abc29feb66102f1ac41d8161f97ce890f5bc9 Mon Sep 17 00:00:00 2001 From: Peter Olson <1303350-that0n3guy@users.noreply.gitlab.com> Date: Sat, 22 Mar 2025 22:05:25 -0500 Subject: [PATCH 7/8] typo --- stacks/n8n-exterior-postgres.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/n8n-exterior-postgres.yaml b/stacks/n8n-exterior-postgres.yaml index 83e671b..97f062f 100644 --- a/stacks/n8n-exterior-postgres.yaml +++ b/stacks/n8n-exterior-postgres.yaml @@ -35,7 +35,7 @@ docs: - GitHub - [github.com/n8n-io/n8n](https://github.com/n8n-io/n8n) iframe_video_embed: "" variables: - SERVICE_PROTOCOL + SERVICE_PROTOCOL: title: "Service Protocol" description: "http or https?" default: "https" From 0a554b0f27830b0dc8fb0cb3b20f004fc70d1e62 Mon Sep 17 00:00:00 2001 From: Peter Olson <1303350-that0n3guy@users.noreply.gitlab.com> Date: Sat, 22 Mar 2025 22:55:03 -0500 Subject: [PATCH 8/8] changing some language, adding nocodb --- stacks/n8n-exterior-postgres.yaml | 6 +-- stacks/nocodb-external-postgres.yaml | 56 ++++++++++++++++++++++ stacks/postgresql-supabase-extensions.yaml | 6 +-- store.json | 14 +----- 4 files changed, 63 insertions(+), 19 deletions(-) create mode 100644 stacks/nocodb-external-postgres.yaml diff --git a/stacks/n8n-exterior-postgres.yaml b/stacks/n8n-exterior-postgres.yaml index 97f062f..f1c0dfc 100644 --- a/stacks/n8n-exterior-postgres.yaml +++ b/stacks/n8n-exterior-postgres.yaml @@ -21,7 +21,7 @@ services: - "5678/http/N8N Endpoint" docs: - logo_url: "https://n8n.io/images/n8n-logo.png" + logo_url: "https://avatars.githubusercontent.com/u/45487711?s=200&v=4" name: "n8n" description: "Workflow automation tool for connecting various services and APIs" readme_description: > @@ -57,12 +57,12 @@ docs: type: text POSTGRES_HOST: title: "PostgreSQL Host" - description: "Address of external PostgreSQL server" + description: "Address (ip or url) of external PostgreSQL server" default: "" type: text POSTGRES_DB: title: "PostgreSQL Database" - description: "Name of the PostgreSQL database" + description: "Name of the database in PostgreSQL" default: "n8n" type: text POSTGRES_USER: diff --git a/stacks/nocodb-external-postgres.yaml b/stacks/nocodb-external-postgres.yaml new file mode 100644 index 0000000..120d08f --- /dev/null +++ b/stacks/nocodb-external-postgres.yaml @@ -0,0 +1,56 @@ +services: + "{{STACK_NAME}}": + image: nocodb/nocodb + environment: + - "NC_DB=pg://{{POSTGRES_HOST}}:5432?u={{POSTGRES_USER}}&p={{POSTGRES_PASSWORD}}&d={{POSTGRES_DB}}" + - "NC_AUTH_JWT_SECRET={{JWT_SECRET}}" + volumes: + - "{{NOCODB_DATA}}:/usr/app/data/" + expose: + - "8080/http/NocoDB Endpoint" + +docs: + logo_url: "https://avatars.githubusercontent.com/u/50206778?s=200&v=4" + name: "NocoDB" + description: "Open Source Airtable Alternative - Turns any database into a smart spreadsheet" + readme_description: > + ### What is NocoDB? + + NocoDB is an open source no-code platform that turns any database into a smart spreadsheet. Consider it as an Airtable alternative. + + ### Links + + - Official Website - [nocodb.com](https://nocodb.com/) + - GitHub - [github.com/nocodb/nocodb](https://github.com/nocodb/nocodb) + iframe_video_embed: "" + variables: + POSTGRES_HOST: + title: "PostgreSQL Host" + description: "Hostname (ip or domain) of PostgreSQL server" + default: "" + type: text + POSTGRES_USER: + title: "PostgreSQL User" + description: "Username for PostgreSQL database" + default: "" + type: text + POSTGRES_PASSWORD: + title: "PostgreSQL Password" + description: "Password for PostgreSQL database" + default: "" + type: text + POSTGRES_DB: + title: "PostgreSQL Database" + description: "Name of the PostgreSQL database" + default: "nocodb" + type: text + JWT_SECRET: + title: "JWT Secret" + description: "Secret key for JWT authentication" + default: "" + type: text + NOCODB_DATA: + title: "NocoDB Data Storage" + description: "The data storage for NocoDB" + default: "" + type: volume \ No newline at end of file diff --git a/stacks/postgresql-supabase-extensions.yaml b/stacks/postgresql-supabase-extensions.yaml index 2e8ffb3..2a3d6c3 100644 --- a/stacks/postgresql-supabase-extensions.yaml +++ b/stacks/postgresql-supabase-extensions.yaml @@ -8,7 +8,7 @@ services: expose: - "5432/tcp/PostgreSQL Endpoint" docs: - logo_url: "https://raw.githubusercontent.com/swiftwave-org/app-store/main/assets/logos/postgresql.png" + logo_url: "https://avatars.githubusercontent.com/u/54469796?s=200&v=4" name: "PostgreSQL-Supabase" description: "PostgreSQL + goodies (Postgres) is an open source object-relational database known for reliability and data integrity" readme_description: > @@ -32,12 +32,12 @@ docs: variables: POSTGRES_VERSION: title: "PostgreSQL Version" - description: "Choose the version as per requirement" + description: "Choose the version, must be a valid docker tagged version." default: "15.6.1.113" type: text POSTGRES_PASSWORD: title: "PostgreSQL Password" - description: "Password of postgresql user" + description: "Password of postgres user. By default the main user will be: postgres" default: "" type: text options: diff --git a/store.json b/store.json index 9f80f3d..3d42546 100644 --- a/store.json +++ b/store.json @@ -522,17 +522,5 @@ "stack": "https://raw.githubusercontent.com/swiftwave-org/app-store/main/stacks/yt-dlp-web-gui.yaml" } ] - }, - { - "logo": "https://raw.githubusercontent.com/swiftwave-org/app-store/main/assets/logos/yt-dlp-web-gui.png", - "title": "PostgreSQL - Supabase extentions", - "description": "Unmodified Postgres with some useful plugins.", - "category": "Database", - "stacks": [ - { - "title": "PostgreSQL - Supabase extentions", - "stack": "https://github.com/that0n3guy/app-store/blob/supabase-postgres/stacks/postgresql-supabase-extensions.yaml" - } - ] } -] \ No newline at end of file +]