shreemaan-abhishek commented on issue #9368:
URL: https://github.com/apache/apisix/issues/9368#issuecomment-1521622979

   You can add volumes to your docker container using the `-v` flag. Like so:
   `docker run -d -v /path/to/apisix.yaml:/usr/local/apisix/conf/apisix.yaml:ro 
--name apache-apisix -p 9080:9080 -p 9180:9180 -e APISIX_STAND_ALONE=true 
apache/apisix:3.2.0-centos`
   
   Using this method, you don't have to exec into the container to configure 
resources like routes and upstreams. You can also use the apisix-docker example 
and configure it to your requirement.
   
   
https://github.com/apache/apisix-docker/blob/821b4744a003cdff5eff75c2a1896ec0eaa1089a/example/docker-compose.yml#L35


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