DEV Community

Khurshidbek Kobilov
Khurshidbek Kobilov

Posted on

How to install Apache APISIX Dashboard with Docker in Windows

What is APISIX?

Apache APISIX is Cloud-Native API Gateway. It provides rich traffic management features like Load Balancing, Dynamic Upstream, Canary Release, Circuit Breaking, Authentication, Observability, and many more.

Why APISIX?
Reduce time fighting bugs, focus on designing world-class systems
Apache APISIX is the first Open source API gateway, with a built-in low-code Dashboard offering a powerful and flexible interface for developers to use. The Apache APISIX Dashboard is designed to make it as easy as possible for users to operate Apache APISIX through a frontend interface. It’s opensource and ever evolving, feel free to contribute.

Requirements

  • Docker Desktop
  • Git
  • VS Code

Installation
In order to install APISIX Dashboard with Docker, first clone the repo:

git clone git@github.com:apache/apisix-docker.git
Enter fullscreen mode Exit fullscreen mode

Terminal view after clonning the apisix-docker repository

Navigate to the "example" folder of the repo:

cd apisix-docker/example
Enter fullscreen mode Exit fullscreen mode

Now, we can start all modules with docker-compose as mentioned in the documentation of the repository:

docker-compose -p docker-apisix up -d
Enter fullscreen mode Exit fullscreen mode

Then we should see the screen similar to this one:

Docker compose finished on apisix-docker

If you check you Docker Desktop, you should see the list of running containers:

APISIX Containers running on the Docker Desktop

Usage
In order to open Dashboard running locally, you should visit this url:

http://localhost:9000/user/login
Enter fullscreen mode Exit fullscreen mode

To get login credentials, open the clonned "docker-apisix" folder with VS Code:

APISIX Dahboard conf.yaml file

So, as we can see from the conf.yaml file, login credentials for admin and user are different:

Admin
Username: admin
Password: admin

User
Username: user
Password: user
Enter fullscreen mode Exit fullscreen mode

After succesfull login, welcome screen should be opened:

APISIX Dashboard image

That's it for this tutorial. I hope it will be helpful to get started with Apache APISIX. You can also watch the demonstratio of these steps above on our YouTube video. Comment below, if you have any question and share this post to help other developers to learn something new. If you want to contribute APISIX project, please visit this link.

Top comments (0)