This AdonisJS web-ui based application allows you to visualize Docker container logs.
- Node.js
- AdonisJS
- Docker
- Clone the repository.
- Install dependencies with
npm install
. - Rename the .env.example file to .env
- Generate a key by typing the command:
node ace generate:key
.
- Ensure Docker is installed and running on your machine.
- Configure Docker access if necessary.
- Run the AdonisJS development server with
node ace serve
. - Access the corresponding URL to view container information (
/logs
) or logs from a specific container (/logs/:id/view
).
cd build
npm ci --omit="dev"
node bin/server.js
- app/Controllers/logs_controller.ts: Primary controller for Docker logs management.
- resources/views/logs/index.edge: View to display active containers information.
- resources/views/logs/view.edge: View to display logs from a specific container.