open-source-labs / Docketeer

A Docker & Kubernetes developer tool to manage containers & visualize both cluster and container metrics
https://docketeer.io/
MIT License
863 stars 235 forks source link

Roles/Auth and updated Dashboard #135

Closed kobudnik closed 1 year ago

kobudnik commented 1 year ago

--Auth logic to validate that only system admins can execute commands (stop container, start container, etc) --Corresponding alerts on front-end that commands cannot be executed due to invalid permissions --Additional configurability for users w/ env variables (specify different credentials you will run docketeer-db on, etc) -- Code cleanup and additional error checking. -- Updated compose file demonstrating persistence of Prometheus data with volumes -- Updated dashboard json to its most recent state.

Will update README after approval to explain configuration options

To test, checkout to current state of userauth -- within docker compose file, please replace our image (docketeerx/docketeer) with docketeerx/dockauth so you can pull the image that has been built from the current state of this app. Should work on all computers. Also, please rebuild the postgres image within imageConfigs/postgres (and update the docker compose if you choose to retag it rather than overwrite)

Once validated, the main docketeerx/docketeer image can be updated and republished, as well as the docketeerx/postgres image