mirror of
https://github.com/Tencent/WeKnora.git
synced 2026-09-19 02:18:25 +08:00
feat: support remote backend and HTTPS proxy
This commit is contained in:
+12
-2
@@ -33,12 +33,22 @@ STORAGE_TYPE=local
|
||||
# 流处理后端(memory/redis)
|
||||
STREAM_MANAGER_TYPE=redis
|
||||
|
||||
# 应用服务主机名,默认为app
|
||||
# 应用服务主机名,默认为app(Docker内部服务名)
|
||||
# 如需代理到远程后端,可设为远程地址,如 remote-app.example.com
|
||||
APP_HOST=app
|
||||
|
||||
# 应用服务端口,默认为8080
|
||||
# 应用服务宿主机映射端口,默认为8080(仅影响宿主机访问,不影响容器间通信)
|
||||
APP_PORT=8080
|
||||
|
||||
# NGINX 代理到后端的目标端口,默认为8080(App容器内部监听端口)
|
||||
# 本地部署:保持默认即可,无需随 APP_PORT 修改
|
||||
# 远程部署:设为远程 App 服务的实际端口
|
||||
# APP_BACKEND_PORT=8080
|
||||
|
||||
# NGINX 代理到后端的协议,默认为http
|
||||
# 远程部署如后端为 HTTPS,需设为 https
|
||||
# APP_SCHEME=http
|
||||
|
||||
# 前端服务端口,默认为80
|
||||
FRONTEND_PORT=80
|
||||
|
||||
|
||||
Reference in New Issue
Block a user