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


##########
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:
   Maybe we can append this part of the config if the config provided by users 
doesn't have it.



-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to