Initial Dockge image update checker
All checks were successful
Build / test (push) Successful in 14s

This commit is contained in:
MrSphay
2026-05-14 17:35:56 +02:00
commit 0e0a21f508
18 changed files with 869 additions and 0 deletions

33
.codex/project.md Normal file
View File

@@ -0,0 +1,33 @@
# Project
Name: dockge-image-update-checker
Description: Companion service that checks Dockge stack images for newer registry digests.
Stack: Node.js 20+, Docker, Docker Compose
## Commands
```bash
npm test
npm run build
npm run check
```
## Runtime
Environment variables:
- `STACKS_DIR`: Dockge stacks directory. Defaults to `/opt/stacks`.
- `PORT`: HTTP port. Defaults to `8080`.
- `CHECK_INTERVAL_SECONDS`: background refresh interval. Defaults to `3600`.
- `DOCKER_SOCKET`: Docker socket path. Defaults to `/var/run/docker.sock`.
- `DOCKER_HOST`: optional `tcp://host:port` Docker API endpoint.
## Artifact
Container image from `Dockerfile`.
## Notes
Dockge does not currently expose a stable documented plugin API. This repository is structured as a read-only companion service that can run beside Dockge and inspect the same stack directory plus Docker Engine metadata.