手动构建
To build the Dashboard with Docker, you simply download the Dockerfile
file from the root directory to your device (no need to download all source codes) then follow this guide.
The manager-api
and web
will be included in this build guide product.
Prerequisites
Before using Docker to build images and start containers, make sure that the following dependencies are installed and running in your environment.
etcd 3.4.0+
Build
Launch
Preparing configuration files
Before starting the container, the configuration file conf.yaml
needs to be prepared inside the host to override the default configuration file inside the container.
Kindly note:
Only when
conf.listen.host
is0.0.0.0
can the external network access the services within the container.conf.etcd.endpoints
must be able to access theetcd
service within the container. For example: usehost.docker.internal:2379
so that the container can accessetcd
on the host network.Launch the Dashboard
Check if the container started successfully
If the container apisix-dashboard
is ok, visit http://127.0.0.1:9000
to use the dashboard with GUI, where the default username and password are admin
.
Stop the Dashboard
Other
Caching is not recommended when building a image multiple times.
Last updated
Was this helpful?