Revolyssup commented on PR #487:
URL: https://github.com/apache/apisix-docker/pull/487#issuecomment-1700358601
@kamly Why did you close it?
My query was that this whole block is one if branch
``` bash
if [ "$APISIX_STAND_ALONE" = "true" ]; then
cat > ${PREFIX}/conf/config.yaml << _EOC_
deployment:
role: data_plane
role_data_plane:
config_provider: yaml
_EOC_
cat > ${PREFIX}/conf/apisix.yaml << _EOC_
routes:
-
#END
_EOC_
/usr/bin/apisix init
```
But we were only add the extra protection on this code
``` bash
cat > ${PREFIX}/conf/apisix.yaml << _EOC_
routes:
-
#END
_EOC_
```
and not this
``` bash
cat > ${PREFIX}/conf/config.yaml << _EOC_
deployment:
role: data_plane
role_data_plane:
config_provider: yaml
_EOC_
```
cc: @tao12345666333
--
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]