diff options
| author | Ak4zh <[email protected]> | 2021-05-06 17:59:46 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-06 08:29:46 -0400 |
| commit | 050095b0b0bfafe2ba5adb1fa84820f652c3d6e0 (patch) | |
| tree | fd9be4739031075839e86e599ef6d3a0fe9162a7 | |
| parent | 225036469d5081cb120439d4dfc33df46dd9788e (diff) | |
| download | caprover-one-click-apps-050095b0b0bfafe2ba5adb1fa84820f652c3d6e0.tar.gz caprover-one-click-apps-050095b0b0bfafe2ba5adb1fa84820f652c3d6e0.zip | |
Added Supabase (#425)
* added supabase postgres
* fixed empty file
* fixed code formatting issues
Co-authored-by: Akash Agarwal <[email protected]>
| -rw-r--r-- | public/v4/apps/supabase-postgres.yml | 49 | ||||
| -rw-r--r-- | public/v4/logos/supabase-postgres.png | bin | 0 -> 10556 bytes |
2 files changed, 49 insertions, 0 deletions
diff --git a/public/v4/apps/supabase-postgres.yml b/public/v4/apps/supabase-postgres.yml new file mode 100644 index 0000000..f117f0c --- /dev/null +++ b/public/v4/apps/supabase-postgres.yml @@ -0,0 +1,49 @@ +captainVersion: 4 +services: + $$cap_appname-db: + image: supabase/postgres:$$cap_app_version + volumes: + - $$cap_appname-db-data:/var/lib/postgresql/data + restart: always + environment: + POSTGRES_USER: $$cap_pg_user + POSTGRES_PASSWORD: $$cap_pg_pass + POSTGRES_DB: $$cap_pg_db + POSTGRES_INITDB_ARGS: $$cap_pg_initdb_args + caproverExtra: + notExposeAsWebApp: 'true' +caproverOneClickApp: + variables: + - id: $$cap_app_version + label: Supabase Version + defaultValue: '0.14.0' + description: Check out their Docker page for the valid tags https://hub.docker.com/r/supabase/postgres/tags + validRegex: /^([^\s^\/])+$/ + - id: $$cap_pg_user + label: Postgres Username + description: '' + validRegex: /.{1,}/ + - id: $$cap_pg_pass + label: Postgres Password + description: '' + validRegex: /.{1,}/ + - id: $$cap_pg_db + label: Postgres Default Database + description: '' + validRegex: /.{1,}/ + - id: $$cap_pg_initdb_args + label: "OPTIONAL: Arguments for 'postgres initdb'" + description: For example, --data-checksums + validRegex: /.{0,}/ + instructions: + start: >- + Postgres + goodies = Supabase Postgres + + 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. + end: "Supabase (Postgres) is deployed and available as srv-captain--$$cap_appname-db:5432 to other apps. For example with NodeJS: 'const client = new Client({ user: 'cap_pg_user', host: 'srv-captain--$$cap_appname', database: 'cap_pg_db', password: '********', port: 5432})'" + displayName: Supabase PostgreSQL + isOfficial: true + description: Supabase makes it easy to use Postgres. + documentation: Taken from https://github.com/supabase/postgres diff --git a/public/v4/logos/supabase-postgres.png b/public/v4/logos/supabase-postgres.png Binary files differnew file mode 100644 index 0000000..cba2096 --- /dev/null +++ b/public/v4/logos/supabase-postgres.png |
