feat 端口修改

This commit is contained in:
2026-01-16 22:09:41 +08:00
parent 692f65b80f
commit ed80af6ae2
3 changed files with 16 additions and 12 deletions

View File

@@ -11,7 +11,9 @@ log:
metric:
prometheus:
address: "0.0.0.0"
port: 8504
port: 18504
jaeger:
endpoint: "47.108.184.184:4317"
db:
etcd:
@@ -24,18 +26,18 @@ db:
serve:
grpc:
address: "10.0.40.199"
port: 8500
port: 18500
ttl: 20
socket:
web:
address: "0.0.0.0"
port: 8501
port: 18501
raw:
address: "0.0.0.0"
port: 8502
port: 18502
http:
address: "0.0.0.0"
port: 8503
port: 18503
auth:
secret: "bMa3mU4oCsX2KBex5o7GzwSnACpumFq3SdlDXYZgVTU="

View File

@@ -11,7 +11,9 @@ log:
metric:
prometheus:
address: "0.0.0.0"
port: 8504
port: 18504
jaeger:
endpoint: "172.18.28.0:4317"
db:
etcd:
@@ -24,18 +26,18 @@ db:
serve:
grpc:
address: "172.18.28.0"
port: 8500
port: 18500
ttl: 20
socket:
web:
address: "0.0.0.0"
port: 8501
port: 18501
raw:
address: "0.0.0.0"
port: 8502
port: 18502
http:
address: "0.0.0.0"
port: 8503
port: 18503
auth:
secret: "bMa3mU4oCsX2KBex5o7GzwSnACpumFq3SdlDXYZgVTU="

4
deploy/Jenkinsfile vendored
View File

@@ -51,7 +51,7 @@ pipeline {
stage('Build Go Binary') {
agent {
docker {
image 'golang:1.23.1-alpine'
image 'golang:1.24.0-alpine'
reuseNode true
args '-u root:root -v $GO_MOD_CACHE_DIR:/go/pkg/mod -v $GO_BUILD_CACHE_DIR:/root/.cache/go-build'
}
@@ -109,7 +109,7 @@ pipeline {
docker run -d \\
--name ${env.APP_NAME} \\
--restart unless-stopped \\
-p 8500-8504:8500-8504 \\
-p 18500-18504:18500-18504 \\
--env XH_G_ENV=prod \\
-v /root/service/logs/gateway_log/:/app/logs \\
${env.IMAGE_TAG}