Checkout the docker image
A very simple and basic frontend for the ADC middleware server, meant only for the demonstration of the middleware's access control capabilities.
The docker image hosts the SPA and it assumes that:
/auth/airrfront-end.To setup the correct client in Keycloak, go to the admin dashboard and create a new client in the Clients side panel tab: load (import) and save the client from the file config/front-end.json.
yarn install
Start keycloak and then create a new client in the Clients side panel tab: load (import) and save the client from the file config/front-end.json. Go to Installation tab in the client and download the Keycloak OIDC JSON format and place in public/keycloak.json, you will need to replace the value's auth-server-url host with with the front-ends's server value (e.g. cahnge to http://localhost:3000/auth/).
If you run the middleware server or keycloak server in unexpected ports you need to update
.env
For firefox you can use this extension
Run locally:
yarn start
Build:
yarn build
Build local image
docker build -t ros65536/adc-middleware-frontend .
Trigger Dockerhub image CI build:
git tag -a v<VERSION> -m <MESSAGE> # tag latest commit
git push origin --tags # This should trigger a build in dockerhub
Content type
Image
Digest
Size
52.6 MB
Last updated
about 6 years ago
docker pull ros65536/adc-middleware-frontend