bzp2010 edited a comment on issue #175: feature: add docker support 
URL: 
https://github.com/apache/incubator-apisix-dashboard/pull/175#issuecomment-615910080
 
 
   > Thanks for your contribution!
   > 
   > > Can we change base and publicpath to root?
   > > We should access the dashboard by `http://xxx/dashboard` as default.
   > 
   > And I recommend passing API_KEY by Docker env or `.env` file, or maybe 
others cannot config API_KEY easily... I'm not sure 😳
   
   The way we use it now is to compile it first and then put it into nginx 
image. This means that we can only enter data into the image during 
compilation, not during runtime. At present, I only want to create the setting 
page and inject the configuration into the local storage of the browser to 
modify the configuration without recompiling the docker image. (The docker 
image used for compilation is very large. (1.3GB))
   
   If you do not use the `/dashboard` path, I can simplify the rewrite 
configuration in `nginx.conf`.
   
   If there are better suggestions, we can continue the discussion.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to