Related to: #20296 Changes: - Added `ee/bulk-operations-dashboard`, a Sails.js app that lets users manage configuration profiles and scripts across multiple teams on a Fleet instance. - Added a Github workflow to deploy the app to Heroku - Added a Github workflow to test changes to the bulk operations dashboard.
1.7 KiB
Bulk operations dashboard
A dashboard to easily manage profiles and scripts across multiple teams on a Fleet instance.
Dependencies
-
A datastore, this app was built using Postgres, but you can use a database of your choice.
-
A Redis database - For session storage.
Configuration
This app has two required custom configuration values:
-
sails.config.custom.fleetBaseUrl: The full URL of your Fleet instance. (e.g., https://fleet.example.com) -
sails.config.custom.fleetApiToken: An API token for an API-only user on your Fleet instance.
Running the bulk operations dashboard with Docker.
To run a local bulk operations dashboard with docker, you can follow these instructions.
-
Clone this repo
-
Update the following ENV variables
ee/bulk-operations-dashboard/docker-compose.ymlfile: -
sails_custom__fleetBaseUrl: The full URL of your Fleet instance. (e.g., https://fleet.example.com) -
sails_custom__fleetApiToken: An API token for an API-only user on your Fleet instance.
You can read about how to create an API-only user and get it's token here
-
Open the
ee/bulk-operations-dashboard/folder in your terminal. -
Run
docker compose up --buildto build the bulk operations dashboard's Docker image.
The first time the bulk operations dashboard starts it will Initalize the database aby running the
config/bootstrap.jsscript before the server starts.
- Once the container is done building, the bulk operations dashboard will be available at http://localhost:1337
You can login with the default admin login:
Email address:
admin@example.comPassword:
abc123