Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DCB Admin must be deployed with AWS Amplify, a fast and modern AWS solution that uses CloudFront proxying by default. The steps This document outlines how to deploy DCB Admin on with AWS Amplify are outlined below.

Getting started

  1. Sign into the AWS management console and open the AWS Amplify console for your organisation. You should see a page with the title ‘All apps’.

  2. For your first time, you will need to create an Amplify application. To do this, select ‘New app’, and then select ‘Host web app’.

  3. On the next page, select GitLab as your repository provider, and click ‘Continue’.

  4. On the ‘Add repository branch’ page, select the dcb-admin-ui repository. You will then be prompted to select a branch. Knowledge Integration will have provided you with the name of the branch to choose: please select this branch and continue.

  5. In the IAM Role section, choose ‘Create and use a new service role’ to allow Amplify to automatically create a service role for you.

    1. If you have a previously created service role that you want to use instead, select that option.

  6. Choose ‘Next’, and then click ‘Save and deploy’.

...

Example environment variables

DCB_API_BASE

URL of your DCB deployment

DCB_ES_URL

https://reshare-dcb-uat-es.sph.k-int.com/mobius-si

DISCOVERY_SCAFFOLD_URL

URL of your discovery scaffold

KEYCLOAK_ID

dcb

KEYCLOAK_ISSUER

https://keycloak.sph.k-int.com/realms/dcb-hub

KEYCLOAK_REFRESH

https://keycloak.sph.k-int.com/realms/dcb-hub

KEYCLOAK_SECRET

UX0mIH71CEbRNk3RWim0L6lmmHlTQ9MH

NEXTAUTH_SECRET

jkdhfkjsahfdjkhsdkjf73

NEXTAUTH_URL

URL of your deployment

Common errors and how to solve them

...