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 Milhahn
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
Paul Colin Hennig
0e9b64c672
add brackets and kong port
2021-05-06 14:14:18 +02:00
Paul Colin Hennig
a1b8cf7fcf
fix ports
2021-05-05 00:58:33 +02:00
Paul Colin Hennig
2ca7f9f08c
32 char notify
2021-05-05 00:22:39 +02:00
Paul Colin Hennig
d7ebc29904
add variables to compose
2021-05-05 00:17:38 +02:00
jasonho-lynx
2f4d03b7a6
GRANT EXECUTE auth schema for authenticated, anon, service role ( #1377 )
...
As discussed on https://github.com/supabase/supabase/discussions/1290
2021-05-03 22:44:44 -05:00
Marcus Guttenplan
83c081b370
Update kong.yml
2021-04-25 10:49:57 -04:00
Timothy Lin
8370e35242
chore: sync container_name
2021-04-07 08:58:04 +08:00
Timothy Lin
a046aff038
fix: add to postgres's search_path
2021-04-07 08:52:33 +08:00
Bobbie Soedirgo
04fc5110b7
chore: minor change to docker setup
2021-03-31 14:03:58 +08:00
Jesús García
1e88f69e8c
Add JWT example token longer than 32 characters and disable locally realtime security.
2021-03-14 21:54:19 +01:00
Erik De Rijcke
cb6f1b8b3c
Update docker-compose.yml
...
Fix supabase docker-compose.yml: Fix db image pointing to base supabase pg image, effectively ignoring local db setup.
2021-03-09 10:06:09 +01:00
Copple
331b64d829
Merge pull request #805 from jshrake/issue-804-fix-empty-jwt-role
...
Set JWT_DEFAULT_GROUP_NAME in docker-compose
2021-03-06 14:00:54 +08:00
Justin Shrake
41cb290229
Update docker-compose service name from gotrue to auth
...
Closes https://github.com/supabase/supabase/issues/806
2021-03-04 07:32:19 -08:00
Justin Shrake
f944918beb
Set JWT_DEFAULT_GROUP_NAME in docker-compose
...
With the current docker-compose configuration, the JWT issued by
gotrue contains an empty role string. Specifying
`GOTRUE_DEFAULT_GROUP_NAME: "authenticated"` ensures that the JWT
contains a role string with value "authenticated", which matches
one of the created roles in docker/postgres/00-initial-schema.sql.
Closes https://github.com/supabase/supabase/issues/804
2021-03-04 07:08:40 -08:00
Copple
6caca9945a
Removes the ambiguous "emulator" term.
...
"emulator" is a Firebase term, but it's unnecessary in our own context.
2021-02-28 10:37:20 +08:00
Paul Copplestone
913add2e3c
Adds the docker setup
...
A bit earlier than expected, so the documentation isn't there, but for now we will add the basic structure and then iterate later.
2021-01-28 13:19:57 +08:00