feat: backend service
This commit is contained in:
+11
-10
@@ -1,10 +1,13 @@
|
||||
# Required startup settings.
|
||||
GATEWAY_REDIS_MASTER_ADDR=127.0.0.1:6379
|
||||
GATEWAY_REDIS_PASSWORD=changeme
|
||||
GATEWAY_SESSION_EVENTS_REDIS_STREAM=gateway:session_events
|
||||
GATEWAY_CLIENT_EVENTS_REDIS_STREAM=gateway:client_events
|
||||
GATEWAY_RESPONSE_SIGNER_PRIVATE_KEY_PEM_PATH=./secrets/response-signer.pem
|
||||
|
||||
# Backend (consolidated) endpoint.
|
||||
GATEWAY_BACKEND_HTTP_URL=http://127.0.0.1:8080
|
||||
GATEWAY_BACKEND_GRPC_PUSH_URL=127.0.0.1:8081
|
||||
GATEWAY_BACKEND_GATEWAY_CLIENT_ID=gateway-local-1
|
||||
|
||||
# Main listeners.
|
||||
GATEWAY_PUBLIC_HTTP_ADDR=127.0.0.1:8080
|
||||
GATEWAY_AUTHENTICATED_GRPC_ADDR=127.0.0.1:9090
|
||||
@@ -12,19 +15,17 @@ GATEWAY_AUTHENTICATED_GRPC_ADDR=127.0.0.1:9090
|
||||
# Optional admin listener.
|
||||
# GATEWAY_ADMIN_HTTP_ADDR=127.0.0.1:9091
|
||||
|
||||
# Optional Redis tuning. The legacy GATEWAY_REDIS_TLS_ENABLED and
|
||||
# GATEWAY_REDIS_USERNAME variables are no longer accepted; see
|
||||
# docs/redis-config.md.
|
||||
# Optional Redis tuning. Stage 6.2 dropped the session-cache projection and
|
||||
# the two Redis Streams; Redis is now used only for anti-replay reservations.
|
||||
# GATEWAY_REDIS_REPLICA_ADDRS=127.0.0.1:6479,127.0.0.1:6480
|
||||
# GATEWAY_REDIS_DB=0
|
||||
# GATEWAY_REDIS_OPERATION_TIMEOUT=250ms
|
||||
# GATEWAY_SESSION_CACHE_REDIS_KEY_PREFIX=gateway:session:
|
||||
# GATEWAY_REPLAY_REDIS_KEY_PREFIX=gateway:replay:
|
||||
|
||||
# Optional public-auth integration. Without a configured Auth / Session Service
|
||||
# base URL the routes stay mounted and return 503 service_unavailable.
|
||||
# GATEWAY_AUTH_SERVICE_BASE_URL=http://127.0.0.1:8081
|
||||
# GATEWAY_PUBLIC_AUTH_UPSTREAM_TIMEOUT=3s
|
||||
# Optional backend tuning.
|
||||
# GATEWAY_BACKEND_HTTP_TIMEOUT=5s
|
||||
# GATEWAY_BACKEND_PUSH_RECONNECT_BASE_BACKOFF=250ms
|
||||
# GATEWAY_BACKEND_PUSH_RECONNECT_MAX_BACKOFF=30s
|
||||
|
||||
# Optional shutdown and telemetry tuning.
|
||||
# GATEWAY_SHUTDOWN_TIMEOUT=5s
|
||||
|
||||
Reference in New Issue
Block a user