手动构建
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
Before using Docker to build images and start containers, make sure that the following dependencies are installed and running in your environment.
3.4.0+
Preparing configuration files
Kindly note:
Only when conf.listen.host
is 0.0.0.0
can the external network access the services within the container.
conf.etcd.endpoints
must be able to access the etcd
service within the container. For example: use host.docker.internal:2379
so that the container can access etcd
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
Caching is not recommended when building a image multiple times.
Before starting the container, the configuration file conf.yaml
needs to be prepared inside the host to override the default inside the container.