nishmithas/nats-watch

By nishmithas

Updated 11 months ago

Lightweight NATS monitoring and dashboard tool with JetStream support.

Image
Networking
Integration & delivery
Message queues
0

396

nishmithas/nats-watch repository overview

NATS Watch

Minimal setup guide for running via Docker and seeding the initial admin user.

Docker

Build and run the container:

mkdir data/

chmod 777 data/

docker run --rm \
  -u $(id -u):$(id -g) \
  -p 3000:3000 \
  -e NEXTAUTH_SECRET='set-a-strong-secret' \
  -e ADMIN_USERNAME='admin' \
  -e ADMIN_PASSWORD='admin123!' \
  -e ADMIN_EMAIL='[email protected]' \
  -v "$(pwd)/data:/app/data" \
  --name nats-watch nishmithas/nats-watch:latest

Open http://localhost:3000 and sign in with the seeded admin.

Volume
  • All app data is under /app/data in the container; bind mount a host path to persist:
    • -v $(pwd)/data:/app/data
Env
  • NEXTAUTH_SECRET (required): set to a strong, random value in production.
  • ADMIN_USERNAME, ADMIN_PASSWORD, ADMIN_EMAIL (optional): if set on first run and no users exist, the container will seed an admin user.

Tag summary

Content type

Image

Digest

sha256:96823c15d

Size

637.8 MB

Last updated

11 months ago

docker pull nishmithas/nats-watch:sha-55bfe3f