kamly commented on code in PR #487:
URL: https://github.com/apache/apisix-docker/pull/487#discussion_r1307270273


##########
centos/docker-entrypoint.sh:
##########
@@ -29,11 +29,13 @@ deployment:
     config_provider: yaml
 _EOC_
 
-        cat > ${PREFIX}/conf/apisix.yaml << _EOC_
+        if [ ! -f "${PREFIX}/conf/apisix.yaml" ]; then

Review Comment:
   @Revolyssup I'm sorry, I don't quite understand what you mean, can you 
provide a demo?
   
   my logic is:
   when `$APISIX_STAND_ALONE==true` overwrite `conf/config.yaml`
   then `! -f "${PREFIX}/conf/apisix.yaml"` is true overwrite `conf/apisix.yaml`
   
   Only standalone need `conf/apisix.yaml`
   



-- 
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