From ac5c3936eee1a5edcf75cb83cdea8c9b00f59ac8 Mon Sep 17 00:00:00 2001 From: Jiajie Zhong Date: Wed, 2 Mar 2022 10:14:26 +0800 Subject: [PATCH] [python] Add server port to python gateway server properties (#8643) In version 2.0.4, python gateway server do not have entrypoint to change server port. users have to add config keyword `server.port` in `python-gateway.properties` by themself. We should add default key and value to `python-gateway.properties` make users change easier. close: #8642 --- .../src/main/resources/python-gateway.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dolphinscheduler-python/src/main/resources/python-gateway.properties b/dolphinscheduler-python/src/main/resources/python-gateway.properties index 86ad059afc..40d587dbe2 100644 --- a/dolphinscheduler-python/src/main/resources/python-gateway.properties +++ b/dolphinscheduler-python/src/main/resources/python-gateway.properties @@ -15,6 +15,9 @@ # limitations under the License. # +# Spring boot application server port +server.port=54321 + # The address of Python gateway server start. Set its value to `0.0.0.0` if your Python API run in different # between Python gateway server. It could be be specific to other address like `127.0.0.1` or `localhost` #gateway.server.address=0.0.0.0