91 Commits
Author SHA1 Message Date
dragarcia f965646253 bump to supabase/postgres 14.1.0.9 2022-03-30 16:55:30 +02:00
dragarcia e5e86ba1eb chore: update self-hosted setup 2022-03-29 16:27:46 +02:00
Copple 79151cfd3a updates to the latest docker image 2022-03-29 13:46:47 +02:00
Copple eb716ed246 Adds the graphql reverse proxy 2022-03-29 12:06:11 +02:00
Kang Ming b7eba043e7 fix: update auth env vars 2022-03-22 17:20:08 +01:00
Bobbie Soedirgo b3e491eadf fix(docker/studio): set SUPABASE_REST_URL 2022-03-06 17:10:03 +08:00
Bobbie Soedirgo 1f6ab6a78e chore(docker): update gotrue 2022-03-01 19:04:11 +08:00
Div Arora 40f37f3638 Update docker-compose.yml 2022-02-17 09:19:59 +08:00
Wen Bo Xie 5fb6a8fe95 feat: upgrade Realtime image to v0.21.0 2022-01-28 11:15:21 +08:00
williamfalci bb6ff7b51f fix env and docker conf to work correctly with Kong API exposed 2022-01-19 10:02:39 +00:00
Benjamin Tan 6edf5b84c8 docker: properly notify PostgREST to reload schema cache on DDL command end 2022-01-14 15:15:00 +08:00
Wolfgang Walther 5e32d1307f Change PGRST_DB_SCHEMA setting to new-style PGRST_DB_SCHEMA 2022-01-12 13:18:37 +08:00
Copple 3cea779b7f changes the issuer to supabase-demo 2022-01-10 17:59:32 +01:00
Joshen Lim 19383f9d7d Fix self-host studio docker compose file 2022-01-06 15:57:17 +08:00
Bobbie Soedirgo f1d8b10dd0 fix: persist db volume
Making the db use an anon volume will cause data loss - all persisted
data (db, storage, etc.) should be preserved even if the user does
`docker system prune`.

Instead use
[Compose overrides](https://docs.docker.com/compose/extends/#adding-and-overriding-configuration)
for dev mode.
2021-12-16 15:33:46 +08:00
Gabriel Dinner-David 09dc8028f6 fix(docker): expose anon key to studio 2021-12-10 15:40:54 +08:00
Bobbie Soedirgo 6311991ec5 fix(docker): revert auth role to postgres 2021-12-09 15:08:29 +08:00
Copple c4f7d6d3f1 Merge pull request #4377 from supabase/fix/docker-update-images
fix(docker): update images
2021-12-09 13:26:40 +08:00
0xflotus 76e1254a91 chore: change case in initial db script
for convenience reasons
2021-12-09 06:27:11 +05:30
Bobbie Soedirgo eb117c3ffa fix(docker): update images 2021-12-08 17:27:58 +08:00
Wen Bo Xie 27042469b5 docs: add Realtime security docs 2021-11-30 17:55:21 -05:00
CoppleandJoshen Lim 55b82433e9 Adds a docker build (#4121)
* Adds a docker build

* Adds the correct tags

* Sets up the studio port

* Adds quotes around false

* hide local env

* make sure we cover all env files

* only run sentry & analyzer on platform

* Update withAuth

* fixing multi-stage

* fix usage commands

* adds some fake service and anon keys

* Small fix

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2021-11-29 17:19:39 +08:00
Copple 4d192d27cd add perf tests (#4032)
* init some ideas

* hide data.sql

* add simple test for meta

* switch back to old config

* revert changes

* only use one VU

* Add kong test

* hide mounted file

* move over to Apache Bench
2021-11-29 11:36:05 +08:00
Copple c8d910ac7a test change in auth ownership (#4031)
* test change in auth ownership

* fixes table -> function

* Adds execut permissions

* remove grants

* adds execute to everyone
2021-11-26 16:10:10 +08:00
Copple 86941e972a hides mounted file 2021-11-25 19:58:08 +08:00
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