Commit Graph
66 Commits
Author SHA1 Message Date
Copple 3b885f963e moves the db back to an anon volume so it can be torn down after testing 2021-11-24 12:37:53 +08:00
Bobbie Soedirgo 6511fcc4ca fix(docker): revert self host volumes change (#4011)
* fix(docker): revert self host volumes change

* chore(docker): update images

* chore(docker): pg-meta -> meta
2021-11-24 08:12:39 +08:00
614faed4e4 Chore/postgrest v9 (#3988)
* using slack clone to test

* updates auth functions to handle new GUC commands

* move postgREST to new version

* testing with todo list

* makeing our mount setup far more robust

* Adds some usage commands

* cleans up the auth functions

* test with todos app

* fix env var for GUC

* new auth functions - changed for performance improvement

* Adds some integration tests for RLS

* anon volume on postgres

* remove unused helpers

* fix broken docusaurus build

* Fix complaining vercel

* test instructions

* Use named imports

* Fixes imports

* all relative

* chore: add in tsconfig.json to /web

* finding these all over the place

* Update docker/docker-compose.yml

Co-authored-by: Steve Chavez <stevechavezast@gmail.com>

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Steve Chavez <stevechavezast@gmail.com>
2021-11-24 00:31:07 +08:00
Copple 6bc7fdc854 Cleans up the docker folder 2021-11-22 21:14:06 +08:00
Copple b726219818 Adds some fake SMTP creds 2021-11-22 20:27:25 +08:00
Copple 663490876e makeing our mount setup far more robust (#3995) 2021-11-22 17:08:21 +08:00
Inian 2d16de092d change links to point directly to supabase.com (#3951)
* change links to point directly to supabase.com

* status page is under .com
2021-11-20 19:32:02 +08:00
Bobbie Soedirgo f4a1b5ac69 formatting 2021-11-10 19:15:00 +08:00
Copple 811c7fba4b Remove auth from storage routes 2021-11-10 19:15:00 +08:00
Copple e029b816a1 hide test files 2021-11-10 19:15:00 +08:00
Copple 4037a11903 remove test file 2021-11-10 19:15:00 +08:00
Copple 33ff32d97f Adds final tests 2021-11-10 19:15:00 +08:00
Copple 3d94a82601 Adds ACLs to the routes 2021-11-10 19:15:00 +08:00
Bobbie Soedirgo bbe6ac955c feat(docker): add pg-meta 2021-11-10 19:15:00 +08:00
Bobbie Soedirgo 7594418a68 docs: move instructions back to the docs page 2021-09-30 19:28:27 +08:00
Bobbie Soedirgo 201aa7606b docs: update self host README 2021-09-30 07:30:40 +08:00
Bobbie Soedirgo 0e036d4948 chore: update self-host setup 2021-09-30 07:30:40 +08:00
Bobbie Soedirgo 2bcbf04129 chore: move supabase-traefik to supabase-community 2021-09-30 07:30:40 +08:00
Sucipto 1f0820fcbd Add search_path parameter to supabase-auth env
To prevent querying wrong `users` table when public schema has table named `users`
2021-09-01 09:34:37 +07:00
Sucipto a99a89937a Update postgres search_path 2021-08-31 09:55:27 +07:00
Sucipto 7200b734bf Update to latest docker image 2021-08-31 09:53:52 +07:00
Oliver Rice 6b45b63d81 statement timeouts for anon and authenticated 2021-08-30 00:21:15 -05:00
François Vaux 704ff333f6 fix: Fix file ownership for postgres and kong containers 2021-08-29 08:42:13 +02:00
Lio Young 50a0ff226d fix FILE_SIZE_LIMIT variable 2021-08-11 16:27:40 -07:00
Lio Young e7c397fa00 use the FILE_SIZE_LIMIT variable in the docker-compose 2021-08-11 16:24:39 -07:00
Scott Pritchard b882b96bac Adjusted search_path for postgres user
Previously: Search path would prioritise the `public` schema for searching.
Proposed change: Will now prioritise the `auth` schema first.

Reasoning: If a `public.users` table exists, calling `signUp()` will fail unless the structure matches that of `auth.users`.
2021-07-26 02:30:04 +01:00
Paul Copplestone b83638a1d3 Adds note on the quickstart 2021-07-25 21:07:20 +08:00
Paul Copplestone 6a3b29fcbf rolls keys 2021-07-25 20:56:05 +08:00
Paul Copplestone e17e93efcd roll API keys 2021-07-25 18:14:57 +08:00
Paul Copplestone 605e021759 adds smtp admin email 2021-07-25 18:14:15 +08:00
Paul Copplestone c269f76904 cleans public routes 2021-07-25 17:55:31 +08:00
Paul Copplestone 8a09ab6bbc match prod exactly 2021-07-25 17:46:24 +08:00
Paul Copplestone 0324016494 fixes params 2021-07-25 17:14:55 +08:00
Paul Copplestone 167be21e3d Adds site url and path 2021-07-25 17:08:05 +08:00
Paul Copplestone 40ec86d5fa Adds instructions for full example 2021-07-25 16:28:01 +08:00
Paul Copplestone d26d16d207 Merge branch 'master' of github.com:supabase/supabase into docs/self-hosting-improvements 2021-07-25 16:11:34 +08:00
Paul Copplestone 86368f8154 Further improvements to the self-hosting setup 2021-07-25 16:09:09 +08:00
Inian 6e4560d3c4 update storage version 2021-07-25 15:59:23 +08:00
Inian 9ca70c52ed restart containers always
sometimes the containers start and fail before the postgres container is fully initialised
2021-07-25 15:59:14 +08:00
Inian 424483fac4 storage depends on nightly version of postgrest
else match call for update is not working
2021-07-20 21:17:48 +08:00
Inian 635dab60dc storage working with a file system backend 2021-07-20 21:17:02 +08:00
Inian Parameshwaran 7d4b72f637 Adds storage server to self hosting setup 2021-07-20 18:38:51 +08:00
Corentin Poupry 0bc54ca284 Update docker-compose.yml 2021-07-14 18:52:24 +02:00
Yannick MilhahnandYannick 0b75a82f45 Improving and securing docker setup (#1692)
* improved docker setups and readmes

* set PGRST_DB_ANON_ROLE to anon

* fixed spelling in docker .envs

Co-authored-by: Yannick <yannick.milhahn@ensolarado.de>
2021-05-24 07:05:27 +08:00
Steve Chavez 47ec3fae8a Revert "No access to public tables by default for anon" 2021-05-12 09:50:06 -05:00
Steve Chavez b0df1901c3 No access to public tables by default for anon
Users should explicitly grant privileges to `anon`(unauthenticated clients) if they want some db objects to be publicly accessed.

This caused confusion on https://github.com/supabase/supabase/discussions/1493. So the fix is to revoke default privileges for `anon`.
2021-05-11 11:28:50 -05:00
Paul Copplestone 027e7f7b97 Updates the consumers with both an anon key and a service key 2021-05-11 21:16:35 +08:00
Paul Copplestone 9131e670f2 Moves the docker files back to the original location (we have links everywhere) 2021-05-11 20:59:24 +08:00
Paul Colin Hennig b018d49b20 add pgadmin to traefik compose 2021-05-06 16:20:50 +02:00
Paul Colin Hennig 8d88b52f56 sort files and add traefik compose file 2021-05-06 14:48:42 +02:00