Application to monitor Docker containers on your Kindle, allowing you to monitor in real-time the status of your Docker containers directly from your Kindle screen.
kDocker is composed of three modules:
- Backend: Go API that handles Docker container monitoring logic
- Web app: Mesquito web application (
kindle-app-web) - Golang app: Compiled Go application (
kindle-app-go)
On the webapp, you can access logs by clicking on the container name and go back to the main page by clicking on the title (kDocker)
- Copy the example config:
cp example-config.yml config.yml- Edit
config.ymlwith your containers (no need to add a entry for each):
container_name:
name: "Display Name"
icon: '</svg>' # svg icon
hide: false # true to hide this container- Start the backend with Docker compose:
docker-compose up -dThe backend starts on port 4110 by default.
You have two options to install the client application:
The web application offers a better user experience with complete interface and logs functionality.
You first need to change the API_URL in config.js
and then install it to your kindle but idk how cuz i dont have a kindle yet
The golang version is located in kindle-app-go. You need to specify the API_URL in the build command
go mod tidy
go build -o docker-kindle -ldflags "-X 'main.API_URL=http://YOUR_BACKEND_IP:4110'"Note: The Go version does not currently support log display. Use the web version if you need this functionality.
You cannot view the index.html directly on your browser, otherwise, links to logs won't work. For that you can use http-server from Node.js or Python, be sure to be in kindle-app-web/fr.mathiasd.fr/
npx http-server
# or
python -m http-serverr