Commit Graph
105 Commits
Author SHA1 Message Date
Hadi Mahdavi 3d34c5e1b6 Update gotrue image
Gotrue image tage version Update to v2.7.1
New provider like keycloak and another social login are applicable in this version and newer.
2022-07-04 18:37:11 +04:30
Copple bc9992ff15 Merge branch 'master' into master 2022-06-28 19:24:40 -05:00
Copple 3a23d63677 docs: improving the docker guide to make it easier to byo database 2022-06-06 17:29:40 +10:00
Towerful 1191250798 Fixing docker-compose Kong Volumes
Docker Kong wouldn't start as the kong.yml file was created as a directory.  
This should reference the directory not the config file
2022-05-01 16:47:09 +01:00
egor-romanov 89824de44d Merge pull request #6427 from egor-romanov/rfc/integration_tests
feat: add integration tests and few unimplemented integration test cases (js)
2022-04-18 18:05:37 +04:00
egor-romanov 848d145257 feat: integration tests gh action 2022-04-18 17:56:03 +04:00
dragarcia 9b6fa6a212 Remove unhelpful comments 2022-04-08 12:40:07 +01:00
dragarcia 535604f7c4 bump db to 14.1.0.21 2022-04-08 12:38:58 +01:00
dragarcia 7a846ebdd6 update docker init sql file for pg_graphql 2022-04-08 12:33:37 +01:00
Wen Bo Xie 90aa0d0132 chore: upgrade Realtime image to v0.22.4 2022-04-05 15:12:39 -04:00
Luke Bechtel 033f5cfb2f Fix graphql postgrest comment in kong.yml 2022-04-02 19:47:15 -04:00
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
rotemrevivo91andCopple 4b251ebe68 Update docker/.env.example
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2022-02-01 18:50:50 +01:00
rotemrevivo91 c08bcfbb4e Update .env.example 2022-02-01 12:35:38 +01:00
rotemrevivo91 3d4fa8acd1 Update docker-compose.yml
use PGRST_DB_SCHEMAS env variable for exposing schemas to realtime
2022-02-01 12:32:33 +01: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