Deployment for HSL version of GraphiQL. Production deployment available from https://api.digitransit.fi/graphiql/hsl
VITE_DEV_API_SUBSCRIPTION_KEY=key VITE_API_SUBSCRIPTION_KEY=key VITE_API_SUBSCRIPTION_KEY_PARAM=digitransit-subscription-key yarn start
Environment variables VITE_DEV_API_SUBSCRIPTION_KEY
, VITE_API_SUBSCRIPTION_KEY
, and VITE_API_SUBSCRIPTION_KEY_PARAM
are set in the GraphQL request query string for the authorization gateway service.
docker build \
--build-arg VITE_DEV_API_SUBSCRIPTION_KEY=key \
--build-arg VITE_API_SUBSCRIPTION_KEY=key \
--build-arg VITE_API_SUBSCRIPTION_KEY_PARAM=digitransit-subscription-key \
-t graphiql .
docker run -it -p 8099:8080 graphiql
yarn lint