Skip to content

Commit

Permalink
OZ-573: Move all Keycloak related env subst vars to Keycloak docker-c…
Browse files Browse the repository at this point in the history
…ompose file
  • Loading branch information
corneliouzbett committed Dec 5, 2024
1 parent 1727fca commit e763d17
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
13 changes: 11 additions & 2 deletions docker-compose-keycloak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,18 @@ services:
- KEYCLOAK_INTERNAL_HOST_URL=${KEYCLOAK_INTERNAL_HOST_URL}
- KEYCLOAK_ADMIN_SA_CLIENT_SECRET=${KEYCLOAK_ADMIN_SA_CLIENT_SECRET}
- EIP_CLIENT_SECRET=${EIP_CLIENT_SECRET}
- SUPERSET_CLIENT_SECRET=${SUPERSET_CLIENT_SECRET}
- SUPERSET_CLIENT_UUID=${SUPERSET_CLIENT_UUID}
- OPENMRS_PUBLIC_URL=${SERVER_SCHEME}://${O3_HOSTNAME}
- OPENMRS_CLIENT_UUID=${OPENMRS_CLIENT_UUID}
- OPENMRS_CLIENT_SECRET=${OPENMRS_CLIENT_SECRET}
- ODOO_PUBLIC_URL=${SERVER_SCHEME}://${ODOO_HOSTNAME}
- ODOO_CLIENT_UUID=${ODOO_CLIENT_UUID}
- ODOO_CLIENT_SECRET=${ODOO_CLIENT_SECRET}
- SENAITE_PUBLIC_URL=${SERVER_SCHEME}://${SENAITE_HOSTNAME}
- SENAITE_CLIENT_UUID=${SENAITE_CLIENT_UUID}
- SENAITE_CLIENT_SECRET=${SENAITE_CLIENT_SECRET}
- SUPERSET_PUBLIC_URL=${SERVER_SCHEME}://${SUPERSET_HOSTNAME}
- SUPERSET_CLIENT_UUID=${SUPERSET_CLIENT_UUID}
- SUPERSET_CLIENT_SECRET=${SUPERSET_CLIENT_SECRET}

volumes:
keycloak-realm: ~
5 changes: 0 additions & 5 deletions docker-compose-odoo-sso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ services:
environment:
- ADDONS=sale_management,stock,account_account,purchase,mrp,mrp_product_expiry,product_expiry,l10n_generic_coa,odoo_initializer,ozone_settings,server_environment,auth_oidc_environment,auth_oidc

env-substitution:
environment:
- ODOO_CLIENT_SECRET=${ODOO_CLIENT_SECRET}
- ODOO_CLIENT_UUID=${ODOO_CLIENT_UUID}

eip-odoo-openmrs:
environment:
OAUTH_ACCESS_TOKEN_URL: ${OAUTH_ACCESS_TOKEN_URL}
Expand Down
2 changes: 0 additions & 2 deletions docker-compose-openmrs-sso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ services:
- OAUTH2_ENABLED=${ENABLE_SSO}
- HOST_URL=${SERVER_SCHEME}://${O3_HOSTNAME}
- KEYCLOAK_AUTH_SERVER_URL=${SERVER_SCHEME}://${KEYCLOAK_HOSTNAME}
- OPENMRS_CLIENT_SECRET=${OPENMRS_CLIENT_SECRET}
- OPENMRS_CLIENT_UUID=${OPENMRS_CLIENT_UUID}
5 changes: 0 additions & 5 deletions docker-compose-senaite-sso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ services:
volumes:
- ${SENAITE_OIDC_CONFIG_PATH}/:/data/oidc

env-substitution:
environment:
- SENAITE_CLIENT_SECRET=${SENAITE_CLIENT_SECRET}
- SENAITE_CLIENT_UUID=${SENAITE_CLIENT_UUID}

eip-openmrs-senaite:
environment:
OAUTH_ACCESS_TOKEN_URL: ${OAUTH_ACCESS_TOKEN_URL}
Expand Down

0 comments on commit e763d17

Please sign in to comment.