Commit Graph
60 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
dragarcia 535604f7c4 bump db to 14.1.0.21 2022-04-08 12:38:58 +01:00
Wen Bo Xie 90aa0d0132 chore: upgrade Realtime image to v0.22.4 2022-04-05 15:12:39 -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
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
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
Wolfgang Walther 5e32d1307f Change PGRST_DB_SCHEMA setting to new-style PGRST_DB_SCHEMA 2022-01-12 13:18:37 +08: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
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 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 663490876e makeing our mount setup far more robust (#3995) 2021-11-22 17:08:21 +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 0e036d4948 chore: update self-host setup 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 7200b734bf Update to latest docker image 2021-08-31 09:53:52 +07:00
Lio Young e7c397fa00 use the FILE_SIZE_LIMIT variable in the docker-compose 2021-08-11 16:24:39 -07: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 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 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
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
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 8d88b52f56 sort files and add traefik compose file 2021-05-06 14:48:42 +02:00
Paul Colin Hennig 0e9b64c672 add brackets and kong port 2021-05-06 14:14:18 +02:00