bzp2010 commented on issue #175: feature: add docker support URL: https://github.com/apache/incubator-apisix-dashboard/pull/175#issuecomment-616019642 > > > 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. > > Ok, the only thing I'm not sure is that for users who use it first time, how they could config the Key? just by open Dev tools and set Key in localStorage manually? You may be able to automatically open the settings page when you detect that the apisix admin api is not set in the local storage of the browser?
---------------------------------------------------------------- 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