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

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}