Commit Graph
67 Commits
Author SHA1 Message Date
Andrey A. 997999779f add caddy and nginx configs for self-hosted 2026-03-03 14:04:35 +01:00
Inder Singh 97d9865ed4 feat(docker): add deno-cache volume and use Deno.serve 2026-02-18 18:34:34 +01:00
Inder Singh 3aef6f08b8 feat(self-hosted): update vector service and config 2026-02-16 14:10:47 +00:00
Andrey A. f24df26d7b fix: do not expose analytics by default 2026-02-16 13:23:16 +01:00
Etienne Stalmans a3d789f564 chore: updates to analytics route kong 2026-02-16 09:39:30 +01:00
Ivan Vasilov 6aa59ffe29 chore: Add volume to Studio container for SQL snippets (#41557)
* Add snippets volume.

* Bump the studio version.

* Add missing whitespace.
2026-01-27 10:34:57 +01:00
Andrey A. 878667cc2d fix: filter out realtime healtcheck logging and increase hc interval 2026-01-23 16:58:30 +00:00
Vaibhav cdc1a93eb0 fix: quote dashboard credentials in kong.yml to handle special characters 2026-01-23 17:49:35 +01:00
Tilman Vogel b2de1dbf5a fix(docker): vector.yml - do not set error_severity to null 2026-01-23 16:06:26 +00:00
CorwinRail 65fd868cfe fix: update realtime route for supabase-realtime (#39963)
- fixes issue with realtime logs not showing in studio
- appname changed to "realtime-dev.supabase-realitme"
2025-11-05 15:07:01 +01:00
Andrey A. ab2e1e8918 fix: restrict access to mcp server in self-hosted (#39849)
* add routes for local remote mcp
* add additional plugins to kong to restrict mcp
* prohibit access to /api/mcp and /mcp by default
* add comments to warn the user about local access only
2025-10-27 13:39:30 +01:00
Han Qiao 6026a824a3 fix: update queries for local edge function and cron logs (#39388) 2025-10-13 15:20:23 +08:00
Ziinc 671aea0a4a fix: use LOGFLARE_PRIVATE_ACCESS_TOKEN for querying, LOGFLARE_PUBLIC_… (#36169)
* fix: use LOGFLARE_PRIVATE_ACCESS_TOKEN for querying, LOGFLARE_PUBLIC_ACCESS_TOKEN for ingestion

* chore: prettier

* chore: remove logging

* chore: remove unused import
2025-06-05 14:52:29 +08:00
419eba99a1 fix(self-hosted): self hosted docker compose (#30674)
* fix(self-host): ensure migrations connect back to postgres database

* fix(self-host): use supabase_admin user for supavisor pooler

* fix(self-host): services healthchecks

* fix(self-host): vector config path

* feat(ci): add smoke test for self-hosted stack

---------

Co-authored-by: Shawal Mbalire <mbalireshawal@gmail.com>
Co-authored-by: Robson Martins <robson@controle.digital>
2024-11-28 11:37:08 +00:00
Andrew Valleteau 4bad8499ae feat: introduce _supabase database add supavisor to self-hosted (#29596)
* chore: move _analytics to a distinct database

Following: https://github.com/supabase/cli/pull/2707

BREAKING CHANGES:
When migrating from an older version you will need to manually create the new internal _supabase
database and analytics schema the same way the  and  do.
Via:

* feat: add supavisor to the self-hosted stack

* chore(docs): add docs about supavisor

* chore: fix reviewdog warning

* chore: fix typo

* chore: apply pr comments
2024-10-08 13:49:09 +02:00
Filipe CabaçoandRodrigo Mansueli 03aa5c3474 fix: Add Realtime API Routes (#23237)
Exposes the API routes for Realtime appropriately via Kong configuration.

Also alters the analytics configuration to avoid extra logs due to having only one analytics server instead of a cluster

Co-authored-by: Rodrigo Mansueli <rodrigo@mansueli.com>
2024-04-25 09:58:25 +01:00
Filipe Cabaço 88c6e29590 fix: Change vector to use LOGFLARE_API_KEY env var (#22860) 2024-04-22 16:37:24 +08:00
d1a38abccd fix(docker): Add JWT init script (#17033)
* Add JWT init script

* newline

---------

Co-authored-by: Ant Wilson <awalias@users.noreply.github.com>
Co-authored-by: Bobbie Soedirgo <bobbie@soedirgo.dev>
2023-11-15 15:41:32 +08:00
jm-bh 928d2b614c fix: fallible expression 2023-09-11 17:50:00 -05:00
Ziinc cf5e464306 Merge branch 'master' into fix/self-hosted-vector-postgres-log-level 2023-09-11 16:51:43 +08:00
Filipe Cabaço 5b364c2cb1 chore: Move logging into Docker logs only
Change the Vector ingestion to use docker logs directly from the docker socket instead of syslog via an open port
2023-09-02 23:29:09 +01:00
Ahmed El-Sharnoby b3114508d0 Dashboard default credentials substitution in kong.yml 2023-08-26 00:19:18 +03:00
TzeYiing bf7cc8f66b fix: add upcase to log level 2023-08-23 03:25:21 +08:00
TzeYiing 35a13a8c7a fix: update vector to set postgres logs to LOG instead of INFO 2023-08-23 03:16:10 +08:00
Qiao Han 39d0fd1235 fix: use dashboard path as catch all 2023-07-30 00:14:24 +08:00
Copple e9e89c12de minor cleanup 2023-07-28 16:12:27 +02:00
Copple f3a74537c5 Adding some sensible defaults 2023-07-28 14:22:19 +02:00
Copple 9ee7f87a42 Add basic auth using Kong. Since we now expose the dashboard using Kong, then we can disable the port on docker compose 2023-07-28 14:01:06 +02:00
Ahmed El-Sharnoby c44a81533b Add environment variables substitution for kong.yml 2023-07-24 08:28:04 +00:00
Copple 4712cf1f31 Revert "Add environment variables substitution for kong.yml" 2023-07-17 15:33:01 +02:00
Ahmed El-Sharnoby 59e3ea10e7 Add environment variables substitution for kong.yml 2023-07-05 13:08:53 +00:00
Andrey Stepankov 2e5368f78c fix: Add missed jose import for main function 2023-06-17 02:26:41 +03:00
Bobbie Soedirgo 8c96d8be27 feat(self-host): use <API_URL>/functions/v1 for Edge Functions 2023-05-29 15:58:49 +08:00
Lakshan Perera 2efa309589 chore: add volumes and command for egdge functions 2023-04-11 20:27:33 +10:00
Filipe Cabaco 3111fafaf2 feat: Add Functions to Self Hosted
Adds Functions to Supabase Self Hosted
2023-04-07 10:53:51 +01:00
Filipe Cabaco 447fca8275 apply review feedback 2023-04-04 11:51:29 +01:00
Filipe Cabaco 86df3b657d Update DB_SCHEMA from _logs to _analytics 2023-04-04 02:09:10 +01:00
Filipe Cabaco 253836dec0 Set schema for logs service 2023-04-04 02:09:10 +01:00
Filipe Cabaco d063050740 move vector config to a better folder 2023-04-04 02:09:10 +01:00
Filipe Cabaco c6070647b9 modify vector to be more complete using the CLI example 2023-04-04 02:09:10 +01:00
Qiao Han c030d67a80 chore: add empty line 2023-03-09 18:08:08 +08:00
Qiao Han 36abab8662 chore: update grants for webhooks 2023-03-09 18:08:08 +08:00
Francisco Mazzoni 0df99c2d31 feat: enable webhooks for self-hosted 2023-02-02 18:16:43 +08:00
Wen Bo XieandQiao Han a52b5e7767 chore: upgrade Realtime image to v2.0.2 (#11482)
* chore: upgrade Realtime image to v2.0.2

* chore: update realtime hostname

Co-authored-by: Qiao Han <qiao@supabase.io>
2023-01-05 21:37:28 -08:00
Qiao Han 9b163309c8 feat: update realtime image to v2.0 2023-01-05 15:22:34 +08:00
winwangqi 5ccb85196f fix: POSTGRES_PASSWORD key (#10573)
Fix POSTGRES_PASSWORD key, consistent with /docker/.env.example POSTGRES_PASSWORD
2022-12-20 13:16:50 +01:00
Joshen Lim 83b48a6907 Add database size usage in reports database 2022-11-01 14:30:13 +07:00
Han Qiao eae6905d42 chore: update self hosted to use latest postgres image (#9973)
* chore: remove outdated migration files

* chore: update docker compose to use latest images

* chore: remove commented lines

* chore: update default role passwords

* chore: add no restart flag in dev

* chore: update example env

* chore: add comments

* chore: bump storage and studio images

* chore: default pgmeta to use admin role

* chore: do not update su role
2022-11-01 12:26:12 +08:00
dragarcia 9b6fa6a212 Remove unhelpful comments 2022-04-08 12:40:07 +01:00
dragarcia 7a846ebdd6 update docker init sql file for pg_graphql 2022-04-08 12:33:37 +01:00