Run PostgREST with zero config. Related to https://github.com/PostgREST/postgrest/pull/2112

This commit is contained in:
Wolfgang Walther
2022-01-24 10:24:39 +01:00
committed by Wolfgang Walther
parent 5187eadd0b
commit 5f938dbe1a
4 changed files with 58 additions and 45 deletions
-5
View File
@@ -268,11 +268,6 @@ First, create postgrest configuration in ``/etc/postgrest/config``
db-uri = "postgres://<your_user>:<your_password>@localhost:5432/<your_db>"
db-schemas = "<your_exposed_schema>"
db-anon-role = "<your_anon_role>"
db-pool = 10
server-host = "127.0.0.1"
server-port = 3000
jwt-secret = "<your_secret>"
Then create the systemd service file in ``/etc/systemd/system/postgrest.service``