1
0
Fork
You've already forked tiny-admin
0
Lightweight Web GUI to monitor a docker container
  • C# 67.5%
  • HTML 13.5%
  • TypeScript 11.2%
  • Dockerfile 7.2%
  • CSS 0.6%
Find a file
Arsène Lapostolet 2a5e0c68dd
All checks were successful
Build (Tiny Admin) TeamCity build finished
Update README.md
2023年08月15日 19:09:58 +02:00
src/TinyAdmin.Web use dotnet + node image for build to allow typescript compilation 2023年08月15日 19:05:21 +02:00
.dockerignore initial commit 2023年08月15日 18:43:38 +02:00
.gitignore initial commit 2023年08月15日 18:43:38 +02:00
README.md Update README.md 2023年08月15日 19:09:58 +02:00
TinyAdmin.sln initial commit 2023年08月15日 18:43:38 +02:00

Tiny Admin

Tiny admin is a very simple and lightweight admin page to monitor a specific docker container.

Features

This project is closer to a POC than anything else, but still usable.

Implemented :

  • Streaming logs to web UI
  • Restart container

WIP (not working) :

  • Update container

Usage

⚠ This container calls the docker API, so the container needs to be given privileged access, and the docker socket must be mounted.

⚠ There is no security implemented in this software, don't expose it to the internet, and use the level of caution you deem appropriate given that the containers has access to your server's docker socket.

version:"3.3"services:tinyadmin:image:ombrelin/tiny-admin:latestcontainer_name:tinyadminprivileged:truevolumes:- /var/run/docker.sock:/var/run/docker.sockenvironment:- TARGET_CONTAINER=name of the container you want to monitor

Technologies

  • C# 11
  • .NET 7
  • ASP .NET Core 7
  • Typescript

Log streaming to the UI is performed asynchronously using Server-Sent Events.