18 lines
650 B
Bash
18 lines
650 B
Bash
# ==================== Gateway 私有配置 ====================
|
||
# 多机部署时将此文件放到 gateway 服务器的 /etc/topfans/gateway.env
|
||
|
||
# Gin 运行模式: debug, release
|
||
GIN_MODE=release
|
||
# API 网关监听端口
|
||
SERVER_PORT=8080
|
||
|
||
# JWT 密钥(生产环境务必修改为随机强密码)
|
||
JWT_SECRET=your_secure_jwt_secret_here
|
||
|
||
# 下游服务地址(多机部署时改为对应服务器内网IP)
|
||
DUBBO_USER_SERVICE_URL=tri://localhost:20000
|
||
DUBBO_GALLERY_SERVICE_URL=tri://localhost:20001
|
||
DUBBO_SOCIAL_SERVICE_URL=tri://localhost:20002
|
||
DUBBO_ASSET_SERVICE_URL=tri://localhost:20003
|
||
DUBBO_ACTIVITY_SERVICE_URL=tri://localhost:20004
|