Skip to content

Commit 8604713

Browse files
committed
fix(网关注册): 默认内网访问
1 parent 7bb4ae3 commit 8604713

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

jtt808/compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ services:
2828
- gateway_ftp_passive_ports=${JTT808_PORT_FTP_PASSIVE}
2929

3030
# 终端注册服务
31-
- gateway_device-register-url=${WEB_BASE_URL}
31+
- gateway_device-register-url=http://${MAINTAIN_HOST:-maintain}:${MAINTAIN_PORT:-8080}
3232
# 网关Http服务, 需要代理?
3333
- gateway_http_url=${WEB_BASE_URL}/jtt808
3434

@@ -50,12 +50,12 @@ services:
5050
- logging.level.io.netty.handler.logging.LoggingHandler=INFO
5151
# 网关日志写法2
5252
# - SPRING_APPLICATION_JSON={"logging.level.io.netty.handler.logging.LoggingHandler":"DEBUG"}
53-
logging:
53+
logging:
5454
driver: "json-file"
5555
options:
5656
max-size: "100m"
5757
ulimits:
5858
nproc: 65535
5959
nofile:
6060
soft: 20000
61-
hard: 40000
61+
hard: 40000

0 commit comments

Comments
 (0)