I want to add a suggestion:

Can we keep the single responsibility of the docker image and only support one 
service, 
then each service needs to be started separately, and we can add a 
startdocker.sh script to start all,
especially zk and postgresql external services, it can also reduce the size of 
the image

Best Regards
---------------
DolphinScheduler(Incubator) Committer
Xiaochun Liu 刘小春
[email protected]
---------------



> 在 2020年2月19日,下午4:25,Xiaochun Liu <[email protected]> 写道:
> 
> It’s a great suggestion.
> But I have a problem, do you have zk and pgsql built in DolphinScheduler?
> 
> Best Regards
> ---------------
> DolphinScheduler(Incubator) Committer
> Xiaochun Liu 刘小春
> [email protected] <mailto:[email protected]>
> ---------------
> 
> 
> 
>> 在 2020年2月19日,下午3:42,wenhe li <[email protected] 
>> <mailto:[email protected]>> 写道:
>> 
>>   1. echo "generate app config"
>>   2. ls ${DOLPHINSCHEDULER_HOME}/conf/ | grep ".tpl" | while read line; do
>>   3. eval "cat << EOF
>>   4. $(cat ${DOLPHINSCHEDULER_HOME}/conf/${line})
>>   5. EOF
>>   6. " > ${DOLPHINSCHEDULER_HOME}/conf/${line%.*}
>>   7. done
>>   8.
>>   9. echo "generate nginx config"
>>   10. sed -i "s/FRONTEND_API_SERVER_HOST/${FRONTEND_API_SERVER_HOST}/g"
>> /etc/nginx/conf.d/dolphinscheduler.conf
>>   11. sed -i "s/FRONTEND_API_SERVER_PORT/${FRONTEND_API_SERVER_PORT}/g"
>> /etc/nginx/conf.d/dolphinscheduler.conf
> 

Reply via email to