Commit 1ae4309
authored
Roles/Auth and updated Dashboard (#135)
--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 imageFile tree
36 files changed
+1095
-964
lines changed- assets
- imageConfigs
- grafana/provisioning/dashboards
- postgres
- security
- server
- controllers
- database
- routes
- src/components
- helpers
36 files changed
+1095
-964
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
This file was deleted.
0 commit comments