Submit Your Code from Different machine

Generally, we use pydolphinscheduler as a client to DolphinScheduler, and consider we may change our workflow code frequently, the best practice is running python gateway service in your server machine and submit the workflow code from your development machine, like a laptop or PC. This behavior is supported by pydolphinscheduler out of box with one or two single command lines.

Export Configuration File

pydolphinscheduler config --init

your could find more detail in configuration exporting

Run API Server in Other Host

pydolphinscheduler config --set java_gateway.address <your-api-server-ip-or-hostname>

your could find more detail in configuration setting

Run API Server in Other Port

pydolphinscheduler config --set java_gateway.port <your-python-gateway-service-port>

your could find more detail in configuration setting