Skip to content

hansanghyeon-selfhost/hasura

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

hasura

https://hasura.io/docs/2.0/getting-started/docker-simple/

healthcheck에서 헷갈렸던 부분이있었다.

"http://localhost:${DATA_CONNECTOR_AGENT_PORT:-8081}/api/v1/athena/health" 이렇게 테스트해서 실패했었다.

healthcheck는 내부에서 실행되는 커맨드다

clerk

https://hasura.io/learn/graphql/hasura-authentication/integrations/clerk/

https://hasura.io/docs/2.0/auth/authentication/jwt/#running-with-jwt

services:
  graphql-engine:
    environment:
      HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_GRAPHQL_ADMIN_SECRET:-myadminsecretkey}
      HASURA_GRAPHQL_JWT_SECRET: '{"jwk_url" : "https://<your-endpoint>/.well-known/jwks.json"}'

HASURA_GRAPHQL_JWT_SECRET를 설정하면 HASURA_GRAPHQL_ADMIN_SECRET는 필수로 설정해야 한다.

graphql-engine-1  | Fatal Error : --jwt-secret (HASURA_GRAPHQL_JWT_SECRET) requires --admin-secret (HASURA_GRAPHQL_ADMIN_SECRET) or  --access-key (HASURA_GRAPHQL_ACCESS_KEY) to be set

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks