To run on KPS and administer configs for services:
requires a .env
in the project root with:
JWT_SECRET=<project-jwt-secret>
You must set the apikey
header to be a valid JWT token, signed by JWT_SECRET and with a claim of: role: supabase_admin
GET /config/postgrest
- returns current config { raw_contents: <string-of-file-contents> }
POST /config/postgrest
- sets new config - params: { raw_contents: <string-of-file-contents>, restart_services : <bool> }
GET /config/kong
- returns current config { raw_contents: <string-of-file-contents> }
POST /config/kong
- sets new config - params: { raw_contents: <string-of-file-contents>, restart_services : <bool> }
GET /config/pglisten
- returns current config { raw_contents: <string-of-file-contents> }
POST /config/pglisten
- sets new config - params: { raw_contents: <string-of-file-contents>, restart_services : <bool> }
GET /config/realtime
- returns current config { raw_contents: <string-of-file-contents> }
POST /config/realtime
- sets new config - params: { raw_contents: <string-of-file-contents>, restart_services : <bool> }
GET /config/gotrue
- returns current config as { raw_contents: <string-of-file-contents> }
POST /config/gotrue
- sets new config - params: { raw_contents: <string-of-file-contents>, restart_services : <bool> }
GET /services/restart
- re-reads all configs and restarts all services
GET /services/reboot
- reboot the server
GET /logs/<application>/<head|tail>/<max_lines>
- get logs for a given application (postgrest,kong,admin,gotrue,syslog,pglisten)
We are building the features of Firebase using enterprise-grade, open source products. We support existing communities wherever possible, and if the products don’t exist we build them and open source them ourselves. Thanks to these sponsors who are making the OSS ecosystem better for everyone.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。