Explorar el Código

更新 'deploy-tmp.yaml'

duyangang hace 9 meses
padre
commit
a7531dbeac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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