https://github.com/lepresk/docker-webui
AdonisJS Web-UI App for Visualizing & Downloading Docker Container Logs
https://github.com/lepresk/docker-webui
adonisjs docker docker-compose tailwindcss
Last synced: 4 months ago
JSON representation
AdonisJS Web-UI App for Visualizing & Downloading Docker Container Logs
- Host: GitHub
- URL: https://github.com/lepresk/docker-webui
- Owner: lepresk
- Created: 2024-02-24T18:02:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-02T23:17:41.000Z (over 1 year ago)
- Last Synced: 2025-01-12T10:15:46.217Z (5 months ago)
- Topics: adonisjs, docker, docker-compose, tailwindcss
- Language: TypeScript
- Homepage:
- Size: 939 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker web-ui log-viewer
This AdonisJS web-ui based application allows you to visualize Docker container logs.

## Prerequisites
- Node.js
- [AdonisJS](https://adonisjs.com)
- Docker## Installation
1. Clone the repository.
2. Install dependencies with `npm install`.
3. Rename the .env.example file to .env
4. Generate a key by typing the command: `node ace generate:key`.## Configuration
1. Ensure Docker is installed and running on your machine.
2. Configure Docker access if necessary.## Usage
1. Run the AdonisJS development server with `node ace serve`.
2. Access the corresponding URL to view container information (`/logs`) or logs from a specific container (`/logs/:id/view`).## Deploiement
```sh
cd build
npm ci --omit="dev"
node bin/server.js
```## Project Structure
- **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.