Fix: Remove hardcoded secrets, fix port mappings, and update frontend proxy
All checks were successful
DevSecOps-Multibranch/pipeline/head This commit looks good
All checks were successful
DevSecOps-Multibranch/pipeline/head This commit looks good
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -94,7 +94,7 @@ pipeline {
|
||||
${remote} 'docker run -d \
|
||||
--name ${backName} \
|
||||
--restart always \
|
||||
-p ${backPort}:3000 \
|
||||
-p ${backPort}:3001 \
|
||||
${REGISTRY_URL}/${REPO_NAME}:${BACKEND_TAG}'
|
||||
"""
|
||||
|
||||
@@ -107,7 +107,7 @@ pipeline {
|
||||
${remote} 'docker run -d \
|
||||
--name ${frontName} \
|
||||
--restart always \
|
||||
-p ${frontPort}:3000 \
|
||||
-p ${frontPort}:80 \
|
||||
${REGISTRY_URL}/${REPO_NAME}:${FRONTEND_TAG}'
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user