mirror of
https://github.com/hexolan/panels.git
synced 2026-03-26 20:41:15 +00:00
init gateway-service
This commit is contained in:
33
services/gateway-service/README.md
Normal file
33
services/gateway-service/README.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# Gateway Service
|
||||
|
||||
## Configuration
|
||||
|
||||
### Environment Variables
|
||||
|
||||
**RPC Service Addresses:**
|
||||
|
||||
``PANEL_SVC_ADDR`` (Required)
|
||||
|
||||
* e.g. "panel-service:9090"
|
||||
|
||||
``POST_SVC_ADDR`` (Required)
|
||||
|
||||
* e.g. "post-service:9090"
|
||||
|
||||
``USER_SVC_ADDR`` (Required)
|
||||
|
||||
* e.g. "user-service:9090"
|
||||
|
||||
``AUTH_SVC_ADDR`` (Required)
|
||||
|
||||
* e.g. "auth-service:9090"
|
||||
|
||||
``COMMENT_SVC_ADDR`` (Required)
|
||||
|
||||
* e.g. "comment-service:9090"
|
||||
|
||||
**Auth:**
|
||||
|
||||
``JWT_PUBLIC_KEY`` (Required)
|
||||
|
||||
* RSA Public Key encoded in base64 (used to verify JWT tokens created by the ``auth-service``)
|
||||
Reference in New Issue
Block a user