diff --git a/stacks/n8n-exterior-postgres.yaml b/stacks/n8n-exterior-postgres.yaml new file mode 100644 index 0000000..f1c0dfc --- /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://avatars.githubusercontent.com/u/45487711?s=200&v=4" + 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 (ip or url) of external PostgreSQL server" + default: "" + type: text + POSTGRES_DB: + title: "PostgreSQL Database" + description: "Name of the database in PostgreSQL" + 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 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 new file mode 100644 index 0000000..2a3d6c3 --- /dev/null +++ b/stacks/postgresql-supabase-extensions.yaml @@ -0,0 +1,49 @@ +services: + "{{STACK_NAME}}": + image: supabase/postgres:{{POSTGRES_VERSION}} + environment: + - "POSTGRES_PASSWORD={{POSTGRES_PASSWORD}}" + volumes: + - "{{POSTGRES_STORAGE}}:/var/lib/postgresql/data" + expose: + - "5432/tcp/PostgreSQL Endpoint" +docs: + 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: > + 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 Supabase PostgreSQL image will be utilised. More information: [https://github.com/supabase/postgres](https://github.com/supabase/postgres) + + + ### Links + + - Official Wesbite - [www.postgresql.org](https://www.postgresql.org/) + + iframe_video_embed: "" + variables: + POSTGRES_VERSION: + title: "PostgreSQL Version" + 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 postgres user. By default the main user will be: postgres" + default: "" + type: text + options: + POSTGRES_STORAGE: + title: "PostgreSQL Data Storage" + description: "The data storage for PostgreSQL" + default: "" + type: volume + options: \ No newline at end of file