sashokbg commented on code in PR #405:
URL: https://github.com/apache/apisix-docker/pull/405#discussion_r1069071945


##########
centos/docker-entrypoint.sh:
##########
@@ -22,18 +22,22 @@ PREFIX=${APISIX_PREFIX:=/usr/local/apisix}
 
 if [[ "$1" == "docker-start" ]]; then
     if [ "$APISIX_STAND_ALONE" = "true" ]; then
-        cat > ${PREFIX}/conf/config.yaml << _EOC_
+        if [ ! -f ${PREFIX}/conf/config.yaml ]; then

Review Comment:
   Ok, I see. I was thinking that if the developer provided a config file it is 
then their responsibility to put the appropriate configuration values.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to