{"id":19509986,"url":"https://github.com/rhubarbgroup/postgrest-heroku","last_synced_at":"2026-06-11T13:31:22.398Z","repository":{"id":90970058,"uuid":"419851017","full_name":"rhubarbgroup/postgrest-heroku","owner":"rhubarbgroup","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-23T04:46:28.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T22:46:58.776Z","etag":null,"topics":["heroku","postgresql","postgrest"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhubarbgroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-21T19:24:04.000Z","updated_at":"2022-05-27T15:37:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ea80fa5-bb70-494b-ae18-fb5b0e8dd470","html_url":"https://github.com/rhubarbgroup/postgrest-heroku","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rhubarbgroup/postgrest-heroku","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhubarbgroup%2Fpostgrest-heroku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhubarbgroup%2Fpostgrest-heroku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhubarbgroup%2Fpostgrest-heroku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhubarbgroup%2Fpostgrest-heroku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhubarbgroup","download_url":"https://codeload.github.com/rhubarbgroup/postgrest-heroku/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhubarbgroup%2Fpostgrest-heroku/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34201840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["heroku","postgresql","postgrest"],"created_at":"2024-11-10T23:14:07.748Z","updated_at":"2026-06-11T13:31:22.347Z","avatar_url":"https://github.com/rhubarbgroup.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostgREST Heroku\n\nRun [PostgREST](https://postgrest.org) on [Heroku](https://heroku.com) behind Nginx and Basic HTTP authentication.\n\n## Getting started\n\nFirst, clone this repository:\n\n```bash\ngit clone git@github.com:rhubarbgroup/postgrest-heroku.git\n```\n\nNext, create a new app on Heroku:\n\n```bash\nheroku create [APP] # --region=us --team=[TEAM]\n\nheroku stack:set container\n\nheroku addons:create heroku-postgresql:hobby-dev\n\nheroku config:set AUTH_USER=picard\nheroku config:set AUTH_PASS=Picard-Epsilon-7-9-3\n```\n\nPush the code to the Heroku repo:\n\n```bash\ngit push heroku main\n```\n\nNow go test your PostgREST app:\n\n```bash\nheroku open\n```\n\n## Configuration\n\nThe Heroku app will have the following Config Vars:\n\n- `AUTH_USER`: The basic auth user (default: `admin`)\n- `AUTH_PASS`: The basic auth password (default: `password`)\n- `DATABASE_URL`: The connection PostgreSQL URL\n- `PGRST_DB_POOL`: Number of connections to keep open in the pool (default: `10`)\n- `PGRST_DB_SCHEMA`: The database schema to expose to REST clients (default `public`)\n\nThere is no `DB_ANON_USER` and `DB_URI`, we're using Heroku's `DATABASE_URL`.\n\n## Development\n\nThe `docker-compose.yml` can be used to run everything locally at `http://localhost:8080/`:\n\n```\ndocker-compose up --build --force-recreate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhubarbgroup%2Fpostgrest-heroku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhubarbgroup%2Fpostgrest-heroku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhubarbgroup%2Fpostgrest-heroku/lists"}