浏览代码

更新 'deploy-tmp.yaml'

duyangang 9 月之前
父节点
当前提交
a7531dbeac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deploy-tmp.yaml

+ 1 - 1
deploy-tmp.yaml

@@ -38,7 +38,7 @@ spec:
           imagePullPolicy: Always
           env:
             - name: JAVA_OPTS
-              value: $JNLP_JAVA_OPTS -Dspring.profiles.active=$JNLP_ACTIVE_PROFILE
+              value: $JNLP_JAVA_OPTS -Dspring.profiles.active=$JNLP_ACTIVE_PROFILE -Dserver.port=$JNLP_CONTAINER_PORT
           ports:
             - containerPort: $JNLP_CONTAINER_PORT
               name: port