Move the docker backend to the `getting-started` repo in `osbuild` since
it seems like a more appropriate place for the backend stack. Add a note
to the README to point users to the new repository.
Update multiple aspects of our docker development stack. The frontend now
has a devel specific webpack that allows development against a local server/api.
The docker-composer.yaml also includes both versioning and networking updates.
Overall, the major change is to migrate our proxy access into the crc webpack proxy.
* devel: update composer config
Update some of the config for the docker-compose
file since there have been a few changes and the
config is slightly out of date. Additionally, a
refresh_token parameter was added to the oauth_url
since this is used by composer's mock openid provider
to generate the `rh-id-org` key in the jwt token.
* distribution: update frontend entrypoint
Update the command for spinning up the frontend
to match the new script command.
* devel: remove offline token
Remove the offline token and replace
with a client secret instead.
* devel: add metrics profile
Only launch the metrics containers when
explictly requested. This helps decrease
the logging output when the metrics are
not required. The metrics can be called
with `docker-compose --profile metrics up`
Rather than have duplicate copies of the dashboard in this repo,
I've added a python script to extract the dashboard configs from
the image-builder and osbuild-composer repos. The script is called
in the `setup.sh` script.`
This integrates all the Image Builder components needed by the
cloud.redhat.com frontend and allows them to be developed and run
locally using `docker compose`.
This should make it simple to make patches across the different
components and develop them in tandem.
Thanks to Achilleas Koutsou for the initial idea and implementation
in osbuild-composer.
Signed-off-by: Tom Gundersen <teg@jklm.no>