Skip to content

Commit

Permalink
add aws env
Browse files Browse the repository at this point in the history
  • Loading branch information
leiicamundi committed Feb 29, 2024
1 parent 81beedb commit 0565c13
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ services:
KC_DB_DRIVER: "${KC_DB_DRIVER:-software.amazon.jdbc.Driver}"
KC_TRANSACTION_XA_ENABLED: "${KC_TRANSACTION_XA_ENABLED:-false}"
KC_DB_URL: "${KC_DB_PASSWORD:-jdbc:aws-wrapper:postgresql://postgres:5432/keycloak}"

# AWS specifics variables
AWS_STS_REGIONAL_ENDPOINTS: "${AWS_STS_REGIONAL_ENDPOINTS:-}"
AWS_DEFAULT_REGION: "${AWS_DEFAULT_REGION:-}"
AWS_REGION: "${AWS_REGION:-}"
AWS_ROLE_ARN: "${AWS_ROLE_ARN:-}"
AWS_WEB_IDENTITY_TOKEN_FILE: "${AWS_WEB_IDENTITY_TOKEN_FILE:-}"

healthcheck:
test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/8080' || exit 1
interval: 15s
Expand Down

0 comments on commit 0565c13

Please sign in to comment.