docker pull sharescape/hasura-cli-docker
HASURA_GRAPHQL_SERVER_HOST: Required if a config.yaml is not mounted. The
Hasura endpoint to pass to the Hasura CLIHASURA_GRAPHQL_ADMIN_SECRET: Optional# mounting a hasura project directory
docker run --rm \
-v ~/my/hasura/project/directory:/hasura \
sharescape/hasura-cli-docker \
migrate status
# mounting a hasura config file
docker run --rm \
-v ~/my/hasura/project/directory/config.yaml:/hasura/config.yaml \
sharescape/hasura-cli-docker \
migrate status
docker run --rm \
-v ~/my/hasura/project/directory:/hasura \ # optional depending on the command
--env HASURA_GRAPHQL_SERVER_HOST=http://localhost:8080
--env HASURA_GRAPHQL_ADMIN_SECRET=SuperSecretPassword
sharescape/hasura-cli-docker \
migrate status
Content type
Image
Digest
Size
56.2 MB
Last updated
about 5 years ago
docker pull sharescape/hasura-cli-docker