docs(adapter): grpc·cache-redis README의 env 키 안내를 registry에 맞춘다
pr / done (pull_request) Canceled after 0s
pr / done (pull_request) Canceled after 0s
grpc README는 "전용 APP_* 키는 registry에 없다"고 했지만 끄는 값 APP_GRPC_SERVER_ENABLED가 있고, 기동에 꼭 두라는 APP_GRPC_SERVER_ALLOW_INSECURE_LOCAL은 registry에 없었다(앞 커밋이 등록). cache-redis README는 운영 비밀로 읽는 곳 없는 폐기 키 셋 (APP_CACHE_REDIS_PASSWORD, APP_IDEMPOTENCY_/LEASE_REDIS_KEY_HMAC_SECRET)을 넣으라고 했다. 자격 증명은 APP_REDIS_AUTHENTICATION_*의 secret 참조다. 검증: python3 scripts/check-docs.py rc=0.
This commit is contained in:
@@ -23,9 +23,10 @@
|
||||
|
||||
이 줄을 지우면 서버, 포트, 설정 바인딩이 모두 함께 빠진다.
|
||||
- 켜기와 끄기: 모듈이 있으면 켜진다. `app.grpc.server.enabled=false`로만 끈다.
|
||||
- 필요한 설정: 전용 `APP_*` env 키는 registry에 없다. 켜진 상태에서 지금 구현이 받는 listener는
|
||||
loopback plaintext뿐이라 `app.grpc.server.allow-insecure-local=true`(env
|
||||
`APP_GRPC_SERVER_ALLOW_INSECURE_LOCAL=true`)를 명시해야 기동한다. 선택: `app.grpc.server.port`
|
||||
- 필요한 설정: registry 행은 끄는 값 `APP_GRPC_SERVER_ENABLED`와 `APP_GRPC_SERVER_ALLOW_INSECURE_LOCAL` 둘이다.
|
||||
켜진 상태에서 지금 구현이 받는 listener는 loopback plaintext뿐이라
|
||||
`APP_GRPC_SERVER_ALLOW_INSECURE_LOCAL=true`(`app.grpc.server.allow-insecure-local`)를 명시해야 기동한다. 나머지
|
||||
`app.grpc.server.*`는 registry 행 없이 Spring relaxed 이름(`APP_GRPC_SERVER_PORT` 등)으로 받는다. 선택: `app.grpc.server.port`
|
||||
(기본 9090), `.bind-address`(기본 127.0.0.1), `.reflection-enabled`, `.shutdown-grace-seconds`,
|
||||
`.shutdown-drain-seconds`, 그리고 아래 「서버 한도」 절의 전송 한도 키.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user