Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Update deployment config to enable NCCRD branding
Browse files Browse the repository at this point in the history
Closes #19
  • Loading branch information
marksparkza committed Jul 15, 2021
1 parent 8b21423 commit b5f97e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ODP_MAIL_PASSWORD=

# Identity service
ODP_IDENTITY_FLASK_KEY=xxxxx
ODP_IDENTITY_NCCRD_BRAND_CLIENT_ID=SAEON.NCCIS

# Admin service
ODP_ADMIN_UI_FLASK_KEY=xxxxx
Expand Down
1 change: 1 addition & 0 deletions deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ containing the following environment variables:
- **`ODP_MAIL_USERNAME`**: SMTP account email
- **`ODP_MAIL_PASSWORD`**: SMTP account password
- **`ODP_IDENTITY_FLASK_KEY`**: Flask secret key for the ODP identity service
- **`ODP_IDENTITY_NCCRD_BRAND_CLIENT_ID`**: OAuth2 client ID for the NCCRD, for DFFE branding
- **`ODP_ADMIN_UI_FLASK_KEY`**: Flask secret key for the ODP admin service
- **`ODP_ADMIN_UI_CLIENT_ID`**: OAuth2 client ID for the ODP admin service
- **`ODP_ADMIN_UI_CLIENT_SECRET`**: OAuth2 client secret for the ODP admin service
Expand Down
1 change: 1 addition & 0 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ services:
- ODP_MAIL_PASSWORD
- ODP_ADMIN_INSTITUTION=saeon
- ODP_IDENTITY_LOGIN_EXPIRY=2592000
- ODP_IDENTITY_NCCRD_BRAND_CLIENT_ID
- HYDRA_ADMIN_URL=${ODP_ADMIN_URL}/hydra
- REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
- GUNICORN_CMD_ARGS=--forwarded-allow-ips=*
Expand Down

0 comments on commit b5f97e6

Please sign in to comment.