Fix docker stack (#713)

* 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`
This commit is contained in:
Gianluca Zuccarelli 2022-04-26 14:00:53 +01:00 committed by GitHub
parent 294cb08a0f
commit 110c0c674b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 26 additions and 10 deletions

View file

@ -9,4 +9,4 @@ RUN npm install
COPY . .
EXPOSE 8002
CMD [ "npm", "run", "start:beta" ]
CMD [ "npm", "run", "prod-beta" ]