Skip to content

Commit

Permalink
Ensure additional pro secret is passed to docker container
Browse files Browse the repository at this point in the history
Signed-off-by: John Gomersall <[email protected]>
  • Loading branch information
john-gom committed Jan 9, 2025
1 parent 4372023 commit 69f8429
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ KC_DB_PASSWORD=Secret123!
CLIENTS=OFF,http://world.openfoodfacts.localhost OPFF,https://world.openpetfoodfacts.org OFF_PRO,http://world.pro.openfoodfacts.localhost

# Generate specific secrets for the OFF and OFF_PRO clients so that they match the configuration in Product Opener for local development
# Make sure you also add these to docker-compose-run.yml
OFF_CLIENT_SECRET=Cf4NdSAjZsNO9HLcuXeuvukzFu00roQa
OFF_PRO_CLIENT_SECRET=1ILwRhBtNJJDQrHp8lR7yrP9S0N2W7al

Expand Down
1 change: 1 addition & 0 deletions docker-compose-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
- KC_DB_PASSWORD
# Explicitly set the client secret for testing
- OFF_CLIENT_SECRET
- OFF_PRO_CLIENT_SECRET
ports:
- "${KEYCLOAK_EXPOSE}${KEYCLOAK_HTTP_PORT}:8080"
- "${KEYCLOAK_EXPOSE}${KEYCLOAK_MANAGEMENT_PORT}:9000"
Expand Down

0 comments on commit 69f8429

Please sign in to comment.