stubbornTanzhe opened a new issue, #435: URL: https://github.com/apache/apisix-docker/issues/435
I want get a custom route/upstream configged container , after I deploy the apisix container, to get a "AUTO" deployment. so I write a init-config shell script, when it is executed, the route is configed. I add this step into the docker-entrypoint.sh like this: ``` #!/usr/bin/env bash set -eo pipefail /usr/bin/apisix init /usr/bin/apisix init_etcd exec /usr/local/openresty/bin/openresty -p /usr/local/apisix -g 'daemon off;' exec /05-apisix-init-config.sh exec "$@" ``` 05-apisix-init-config.sh is the shell script, there include `curl -X PUT http://127.0.0.1:9180/apisix/admin/routes -d {"id":"1","name": "test"}` but I found that it will be NOT executed after the daemon off command so is there some method can I reach my target? -- 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]
