refactor: 更改调试端口

- 将 docker-compose.yaml 中的端口映射从 26060:6060 修改为 22390:12390- 在 main.go 中将 HTTP服务监听端口从 6060 修改为 12390
This commit is contained in:
danial
2025-02-10 02:23:03 +08:00
parent 75a06b03c7
commit b1e0825393
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ services:
always
ports:
- "127.0.0.1:22309:12309"
- "127.0.0.1:26060:6060"
- "127.0.0.1:22390:12390"
volumes:
- /data/kami/gateway/conf/:/app/conf/
- /data/kami/gateway/logs/:/app/logs/

View File

@@ -19,7 +19,7 @@ import (
func main() {
RegisterLogs()
go func() {
_ = http.ListenAndServe("0.0.0.0:6060", nil)
_ = http.ListenAndServe("0.0.0.0:12390", nil)
}()
defer profile.Start(profile.MemProfile,
profile.CPUProfile,