Architecture of DockerLens
DockerLens is a tool for managing and monitoring Docker containers on your Docker host. It’s designed for those who rely on Docker or Docker Compose to run home lab projects and want a streamlined interface to oversee container performance and system usage.
With DockerLens, there are a few different components that make up the application. Those being:
- The docker system
- The docker API
- The PHP application
- The caddy server
- And finally your browser
Docker System
The docker system is what you are running Docker on. This could be a local machine, a virtual machine, or a cloud server. Since this is really for Docker to document, we will not go into detail on this.
Docker API
The docker API is the API that DockerLens uses to interact with the docker system. This is the API that is used to get the data for the containers, images, and other resources.
You can find more information about the docker API here.
PHP Application
The PHP application is another docker container that is run on the docker system. This is application then uses the docker API that is exposed to containers to get the data for the containers, images, and other resources.
Here you can find more information about the PHP application here.
Caddy Server
The Caddy server is a docker container that is run on the docker system. This just reverse proxies the requests to the PHP application or serves the static files if you are visiting the docs.