From 69b22b05da4150713422d53d7199b02e9978b069 Mon Sep 17 00:00:00 2001 From: Ruslan Talpa Date: Mon, 30 Jun 2025 16:17:35 +0300 Subject: [PATCH] add in readme the way to run auth/rest broker locally --- proxy/README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/proxy/README.md b/proxy/README.md index dba5354b53..dbc807382b 100644 --- a/proxy/README.md +++ b/proxy/README.md @@ -139,7 +139,7 @@ Now from client you can start a new session: PGSSLROOTCERT=./server.crt psql "postgresql://proxy:password@endpoint.local.neon.build:4432/postgres?sslmode=verify-full" ``` -## auth broker hacky setup: +## auth broker setup: ```sh docker run \ @@ -159,12 +159,13 @@ cargo run --bin local_proxy -- \ ``` ```sh -LOGFMT=text cargo run --bin proxy -- \ - --is-auth-broker true \ +LOGFMT=text OTEL_SDK_DISABLED=true cargo run --release --bin proxy -- \ -c server.crt -k server.key \ + --is-auth-broker true \ + --is-rest-broker true \ --wss 0.0.0.0:8080 \ --http 0.0.0.0:7002 \ - --auth-backend cplane-v1 + --auth-backend local ```