31 lines
1.2 KiB
Markdown
31 lines
1.2 KiB
Markdown
# DVDash
|
|
|
|
A little dashboard for checking the latest versions of running docker containers.
|
|
Uses [dockerode](https://www.npmjs.com/package/dockerode) to check running containers, grab their images and then uses [regctl](https://github.com/regclient/regclient) to handle the connection to any registry to get the latest semver version for the image if found.
|
|
I used regctl because it turns out loads of docker registries do not follow the [OCI spec](https://github.com/opencontainers/distribution-spec/blob/main/spec.md) and that tool just deals with it for me.
|
|
|
|
## How do I deploy this?
|
|
|
|
This just runs on port 3000 and needs the docker socket as read only.
|
|
|
|
```yaml
|
|
dvdash:
|
|
container_name: dvdash
|
|
image: gitea.home.joemonk.co.uk/joe/dvdash:1
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
ports:
|
|
3000:3000
|
|
```
|
|
|
|
## Create T3 App
|
|
|
|
This is a [T3 Stack](https://create.t3.gg/) project bootstrapped with `create-t3-app` (because I'm comfortable with it and wanted to build a very small application very quickly).
|
|
|
|
### Learn More
|
|
|
|
- [Next.js](https://nextjs.org)
|
|
- [Tailwind CSS](https://tailwindcss.com)
|
|
- [tRPC](https://trpc.io)
|