sbrouet opened a new issue, #410: URL: https://github.com/apache/apisix-docker/issues/410
Hello Team, In entrypoint.sh for debian, at line 43 the path to configuration directory is hardcoded to `/usr/local/apisix` See https://github.com/apache/apisix-docker/blob/master/debian/docker-entrypoint.sh#L43 ``` exec /usr/local/openresty/bin/openresty -p /usr/local/apisix -g 'daemon off;' ``` But configuration directory can be configured with variable PREFIX which is declared at beginning of script and used for some commands, for initializing configuration: ``` PREFIX=${APISIX_PREFIX:=/usr/local/apisix} [...] cat > ${PREFIX}/conf/config.yaml << _EOC_ [...] cat > ${PREFIX}/conf/apisix.yaml << _EOC_ ``` -> It seems to me that variable should be used also in exec command show above, which would look like: ``` exec /usr/local/openresty/bin/openresty -p ${PREFIX} -g 'daemon off;' ``` If change is needed, must be done in all `docker-entrypoint.sh` files in Git repository. Thank you, Sébastien -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org