diff --git a/compose.ory.yaml b/compose.ory.yaml index 3a2bfd34..600118d3 100644 --- a/compose.ory.yaml +++ b/compose.ory.yaml @@ -217,25 +217,25 @@ services: image: oryd/hydra:${HYDRA_VERSION:-v25.4.0} environment: - HYDRA_ADMIN_URL=http://hydra:4445 - command: > - /bin/sh -c " - hydra clients create - --endpoint http://hydra:4445 - --id adminfront - --secret admin-secret - --grant-types authorization_code,refresh_token - --response-types code - --scope openid,offline_access,profile,email - --callbacks http://localhost:5000/callback; - hydra clients create - --endpoint http://hydra:4445 - --id devfront - --grant-types authorization_code,refresh_token - --response-types code - --scope openid,offline_access,profile,email - --token-endpoint-auth-method none - --callbacks http://localhost:5174/callback; - " + command: | + hydra clients create \ + --endpoint http://hydra:4445 \ + --id adminfront \ + --secret admin-secret \ + --grant-types authorization_code,refresh_token \ + --response-types code \ + --scope openid,offline_access,profile,email \ + --callbacks http://localhost:5000/callback; + + hydra clients create \ + --endpoint http://hydra:4445 \ + --id devfront \ + --grant-types authorization_code,refresh_token \ + --response-types code \ + --scope openid,offline_access,profile,email \ + --token-endpoint-auth-method none \ + --response-types code \ + --callbacks http://localhost:5174/callback; depends_on: ory_stack_check: condition: service_completed_successfully